jfb2 writes in Bug 119:
authorMike Frysinger <vapier@gentoo.org>
Sat, 16 Apr 2005 08:21:34 +0000 (08:21 -0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 16 Apr 2005 08:21:34 +0000 (08:21 -0000)
commita77b4f39708306d44058d7ca1683f448f51c5fce
tree79f812d48d525d48a9aec555f7544dbe5653306f
parent63e5e7bf0e903b8f1e1f3208d2bcd63868866207
jfb2 writes in Bug 119:
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).
init/init.c