diff options
author | John Crispin <blogic@openwrt.org> | 2014-10-02 19:39:56 +0200 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-10-02 19:49:05 +0200 |
commit | 49522abb5adebeedc25f7eb7e152c308ef04b32d (patch) | |
tree | e2e51be0297e5205d7c21ded376812533fa97bac /signal.c | |
parent | 542c5374259fa5a4c4d009efd6b23b46d51cba15 (diff) | |
download | unitd-49522abb5adebeedc25f7eb7e152c308ef04b32d.tar unitd-49522abb5adebeedc25f7eb7e152c308ef04b32d.zip |
make procd handle ctrl+alt+del
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'signal.c')
-rw-r--r-- | signal.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -91,4 +91,5 @@ void procd_signal(void) sigaction(SIGHUP, &sa_dummy, NULL); sigaction(SIGKILL, &sa_dummy, NULL); sigaction(SIGSTOP, &sa_dummy, NULL); + reboot(RB_DISABLE_CAD); } |