mirror of https://github.com/mirror/busybox.git
init: HUP should not be temporarily set to "restart",
we use it for config reload, and we have QUIT for "restart".1_10_stable
parent
8617454027
commit
99a61842df
|
@ -853,10 +853,7 @@ int init_main(int argc, char **argv)
|
|||
}
|
||||
/* Set up sig handlers -- be sure to
|
||||
* clear all of these in run() */
|
||||
bb_signals(0
|
||||
+ (1 << SIGHUP)
|
||||
+ (1 << SIGQUIT)
|
||||
, exec_restart_action);
|
||||
signal(SIGQUIT, exec_restart_action);
|
||||
bb_signals(0
|
||||
+ (1 << SIGUSR1) /* halt */
|
||||
+ (1 << SIGUSR2) /* poweroff */
|
||||
|
|
Loading…
Reference in New Issue