diff options
author | Eric Andersen | 2003-07-22 17:04:54 +0000 |
---|---|---|
committer | Eric Andersen | 2003-07-22 17:04:54 +0000 |
commit | 4c6c23678172a4d92e1906fcda3229558eb31dd6 (patch) | |
tree | 3ce070735be625c8e410b0c4ffcd05b07a508b31 | |
parent | 340aa1cb3f1a8f5fda7c6782b514499a0d397c58 (diff) | |
download | busybox-4c6c23678172a4d92e1906fcda3229558eb31dd6.zip busybox-4c6c23678172a4d92e1906fcda3229558eb31dd6.tar.gz |
As vodz noticed, I screwed up reboot
-rw-r--r-- | init/reboot.c | 4 |
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 } |