aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-07-22 09:48:56 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-07-22 09:48:56 +0000
commitc5385783973ca04c4403a9153fc8f20cd4cd24b2 (patch)
treef7dff3d37a07c40cfe028a67e97ff1035abbd7e6 /shell
parent932734db6ba4f5aa3830833f70aa99e03a453525 (diff)
downloadbusybox-w32-c5385783973ca04c4403a9153fc8f20cd4cd24b2.tar.gz
busybox-w32-c5385783973ca04c4403a9153fc8f20cd4cd24b2.tar.bz2
busybox-w32-c5385783973ca04c4403a9153fc8f20cd4cd24b2.zip
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. git-svn-id: svn://busybox.net/trunk/busybox@7092 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions