aboutsummaryrefslogtreecommitdiff
path: root/init/reboot.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-07-22 17:04:54 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-07-22 17:04:54 +0000
commitc9471e951c089d751b8f0cf64a6057ca0853ee61 (patch)
tree3ce070735be625c8e410b0c4ffcd05b07a508b31 /init/reboot.c
parentb11ed95131d1b0a5ba934cdb60b20293cef52c7f (diff)
downloadbusybox-w32-c9471e951c089d751b8f0cf64a6057ca0853ee61.tar.gz
busybox-w32-c9471e951c089d751b8f0cf64a6057ca0853ee61.tar.bz2
busybox-w32-c9471e951c089d751b8f0cf64a6057ca0853ee61.zip
As vodz noticed, I screwed up reboot
git-svn-id: svn://busybox.net/trunk/busybox@7100 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-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