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