commit | a77b4f39708306d44058d7ca1683f448f51c5fce | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Sat Apr 16 08:21:34 2005 +0000 |
committer | Mike Frysinger <vapier@gentoo.org> | Sat Apr 16 08:21:34 2005 +0000 |
tree | 79f812d48d525d48a9aec555f7544dbe5653306f | |
parent | 63e5e7bf0e903b8f1e1f3208d2bcd63868866207 [diff] |
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).