summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2003-07-22 17:04:54 +0000
committerEric Andersen2003-07-22 17:04:54 +0000
commit4c6c23678172a4d92e1906fcda3229558eb31dd6 (patch)
tree3ce070735be625c8e410b0c4ffcd05b07a508b31
parent340aa1cb3f1a8f5fda7c6782b514499a0d397c58 (diff)
downloadbusybox-4c6c23678172a4d92e1906fcda3229558eb31dd6.zip
busybox-4c6c23678172a4d92e1906fcda3229558eb31dd6.tar.gz
As vodz noticed, I screwed up reboot
-rw-r--r--init/reboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/reboot.c b/init/reboot.c
index a3c0000..185152a 100644
--- a/init/reboot.c
+++ b/init/reboot.c
@@ -39,11 +39,11 @@ extern int reboot_main(int argc, char **argv)
#ifndef CONFIG_INIT
#ifndef RB_AUTOBOOT
-#define RB_AUTOBOOT 0x01234567
+#define RB_AUTOBOOT 0x01234567
#endif
return(bb_shutdown_system(RB_AUTOBOOT));
#else
- return kill_init(SIGUSR2);
+ return kill_init(SIGTERM);
#endif
}