diff options
author | Eric Andersen | 1999-12-09 07:57:58 +0000 |
---|---|---|
committer | Eric Andersen | 1999-12-09 07:57:58 +0000 |
commit | f0758dd6ba19f6039b6fed7da4ca2844b8c1032d (patch) | |
tree | 0c69d4ed535388e7050478a8e473ce4ac82a6c25 /init.c | |
parent | 1792f8c48926450501e19d32e78e140bcb9661c6 (diff) | |
download | busybox-f0758dd6ba19f6039b6fed7da4ca2844b8c1032d.zip busybox-f0758dd6ba19f6039b6fed7da4ca2844b8c1032d.tar.gz |
* Fixed rebooting from init. I'd left some debugging code in
which blocked reboots. Oops.
-Erik
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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 |