mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
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.c | ||
| init_shared.c | ||
| init_shared.h | ||
| Makefile | ||
| Makefile.in | ||
| mesg.c | ||
| poweroff.c | ||
| reboot.c | ||