mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
Fix for bug #1003 -- BusyBox should now poweroff when asked to
do so... Fix thanks to Matt Kraai <kraai@alumni.carnegiemellon.edu> -Erik
This commit is contained in:
parent
3312b0b626
commit
4c95a28461
2
init.c
2
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user