From f0758dd6ba19f6039b6fed7da4ca2844b8c1032d Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 9 Dec 1999 07:57:58 +0000 Subject: * Fixed rebooting from init. I'd left some debugging code in which blocked reboots. Oops. -Erik --- init.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'init.c') diff --git a/init.c b/init.c index 164ee69a3..d2e9a7e97 100644 --- a/init.c +++ b/init.c @@ -418,7 +418,6 @@ static void halt_signal(int sig) "The system is halted. Press CTRL-ALT-DEL or turn off power\r\n"); sync(); #ifndef DEBUG_INIT - while (1) sleep(1); reboot(RB_HALT_SYSTEM); //reboot(RB_POWER_OFF); #endif @@ -430,7 +429,6 @@ static void reboot_signal(int sig) shutdown_system(); message(CONSOLE, "Please stand by while rebooting the system.\r\n"); sync(); - while (1) sleep(1); #ifndef DEBUG_INIT reboot(RB_AUTOBOOT); #endif -- cgit v1.2.3