aboutsummaryrefslogtreecommitdiff
path: root/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'init.c')
-rw-r--r--init.c2
1 files changed, 0 insertions, 2 deletions
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)
418 "The system is halted. Press CTRL-ALT-DEL or turn off power\r\n"); 418 "The system is halted. Press CTRL-ALT-DEL or turn off power\r\n");
419 sync(); 419 sync();
420#ifndef DEBUG_INIT 420#ifndef DEBUG_INIT
421 while (1) sleep(1);
422 reboot(RB_HALT_SYSTEM); 421 reboot(RB_HALT_SYSTEM);
423 //reboot(RB_POWER_OFF); 422 //reboot(RB_POWER_OFF);
424#endif 423#endif
@@ -430,7 +429,6 @@ static void reboot_signal(int sig)
430 shutdown_system(); 429 shutdown_system();
431 message(CONSOLE, "Please stand by while rebooting the system.\r\n"); 430 message(CONSOLE, "Please stand by while rebooting the system.\r\n");
432 sync(); 431 sync();
433 while (1) sleep(1);
434#ifndef DEBUG_INIT 432#ifndef DEBUG_INIT
435 reboot(RB_AUTOBOOT); 433 reboot(RB_AUTOBOOT);
436#endif 434#endif