mirror of
https://github.com/sheumann/hush.git
synced 2024-12-23 05:29:58 +00:00
a77b4f3970
The init applet will restart (re-exec) itsself when it receives a SIGHUP. However, just before it enters its main loop, it resets SIGHUP to either re-load the inittab (or ignore it if no inittab is used). Thus preventing the re-exec option from being triggerable. This patch adds a signal handler for SIGQUIT for init that always causes init to re-exec itsself (along with killing anything else that might be still running). |
||
---|---|---|
.. | ||
Config.in | ||
halt.c | ||
init_shared.c | ||
init_shared.h | ||
init.c | ||
Makefile | ||
Makefile.in | ||
mesg.c | ||
poweroff.c | ||
reboot.c |