aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init/reboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/reboot.c b/init/reboot.c
index a3c0000f1..185152a71 100644
--- a/init/reboot.c
+++ b/init/reboot.c
@@ -39,11 +39,11 @@ extern int reboot_main(int argc, char **argv)
39 39
40#ifndef CONFIG_INIT 40#ifndef CONFIG_INIT
41#ifndef RB_AUTOBOOT 41#ifndef RB_AUTOBOOT
42#define RB_AUTOBOOT 0x01234567 42#define RB_AUTOBOOT 0x01234567
43#endif 43#endif
44 return(bb_shutdown_system(RB_AUTOBOOT)); 44 return(bb_shutdown_system(RB_AUTOBOOT));
45#else 45#else
46 return kill_init(SIGUSR2); 46 return kill_init(SIGTERM);
47#endif 47#endif
48} 48}
49 49