hush/init
Eric Andersen 6fd0e31e87 Patch from Andrew Flegg:
Here's a pretty crude patch to reload /etc/inittab when init receives a
    SIGHUP. The mailing list archives weren't entirely clear on whether or
    not it should already happen, but didn't appear to be.

    The patch:
       * Adds a new function, reload_signal() which just calls
	 parse_inittab() and run_actions(RESPAWN)

       * Before entering the while (1) loop set up SIGHUP to call
	 reload_signal()

       * Modify new_init_action to skip the action if the same command
	 already exists on the same terminal

    This last bit means that changing already running entries is a bit
    hairy as you can end up with, for example, two shells running on the
    same virtual console. However, for solely adding/removing entries this patch
    seems to work quite well.
2003-07-22 09:48:56 +00:00
..
Config.in Support reboot, halt, and poweroff independent of busybox init. 2003-07-22 09:41:39 +00:00
halt.c Support reboot, halt, and poweroff independent of busybox init. 2003-07-22 09:41:39 +00:00
init_shared.c Support reboot, halt, and poweroff independent of busybox init. 2003-07-22 09:41:39 +00:00
init_shared.h Support reboot, halt, and poweroff independent of busybox init. 2003-07-22 09:41:39 +00:00
init.c Patch from Andrew Flegg: 2003-07-22 09:48:56 +00:00
Makefile Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
Makefile.in Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
mesg.c Major coreutils update. 2003-03-19 09:13:01 +00:00
minit.c minit, a Minimal init system. 2003-05-11 14:52:39 +00:00
msvc.c minit, a Minimal init system. 2003-05-11 14:52:39 +00:00
pidfilehack.c minit, a Minimal init system. 2003-05-11 14:52:39 +00:00
poweroff.c Support reboot, halt, and poweroff independent of busybox init. 2003-07-22 09:41:39 +00:00
reboot.c Support reboot, halt, and poweroff independent of busybox init. 2003-07-22 09:41:39 +00:00
start_stop_daemon.c Major coreutils update. 2003-03-19 09:13:01 +00:00