diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-07 19:30:28 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-07 19:30:28 +0000 |
commit | f01f16e2feee545a525de34443359e34195102d8 (patch) | |
tree | 6407e7445e77f9134643d7193455295b38a079c7 /init | |
parent | 74575d18a16336ca9ec05bc47f006b22de9f382f (diff) | |
download | busybox-w32-f01f16e2feee545a525de34443359e34195102d8.tar.gz busybox-w32-f01f16e2feee545a525de34443359e34195102d8.tar.bz2 busybox-w32-f01f16e2feee545a525de34443359e34195102d8.zip |
Fix for bug #1003 -- BusyBox should now poweroff when asked to
do so... Fix thanks to Matt Kraai <kraai@alumni.carnegiemellon.edu>
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@768 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c index 0f6a9bc9b..35f2255b5 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -887,7 +887,7 @@ extern int init_main(int argc, char **argv) | |||
887 | /* Set up sig handlers -- be sure to | 887 | /* Set up sig handlers -- be sure to |
888 | * clear all of these in run() */ | 888 | * clear all of these in run() */ |
889 | signal(SIGUSR1, halt_signal); | 889 | signal(SIGUSR1, halt_signal); |
890 | signal(SIGUSR2, reboot_signal); | 890 | signal(SIGUSR2, halt_signal); |
891 | signal(SIGINT, reboot_signal); | 891 | signal(SIGINT, reboot_signal); |
892 | signal(SIGTERM, reboot_signal); | 892 | signal(SIGTERM, reboot_signal); |
893 | #if defined BB_FEATURE_INIT_CHROOT | 893 | #if defined BB_FEATURE_INIT_CHROOT |