summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorEric Andersen2000-07-07 19:30:28 +0000
committerEric Andersen2000-07-07 19:30:28 +0000
commit4c95a28461b46f05787c07883c44319f7bfe33e3 (patch)
tree6407e7445e77f9134643d7193455295b38a079c7 /init
parent3312b0b626cac6f1945051f2229501971d82e528 (diff)
downloadbusybox-4c95a28461b46f05787c07883c44319f7bfe33e3.zip
busybox-4c95a28461b46f05787c07883c44319f7bfe33e3.tar.gz
Fix for bug #1003 -- BusyBox should now poweroff when asked to
do so... Fix thanks to Matt Kraai <kraai@alumni.carnegiemellon.edu> -Erik
Diffstat (limited to 'init')
-rw-r--r--init/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c
index 0f6a9bc..35f2255 100644
--- a/init/init.c
+++ b/init/init.c
@@ -887,7 +887,7 @@ extern int init_main(int argc, char **argv)
/* Set up sig handlers -- be sure to
* clear all of these in run() */
signal(SIGUSR1, halt_signal);
- signal(SIGUSR2, reboot_signal);
+ signal(SIGUSR2, halt_signal);
signal(SIGINT, reboot_signal);
signal(SIGTERM, reboot_signal);
#if defined BB_FEATURE_INIT_CHROOT