projects
/
oweals
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
procd: add SIGPWR as signal
[oweals/procd.git]
/
initd
/
init.c
diff --git
a/initd/init.c
b/initd/init.c
index 0349e6e9d77ef57288a10108326b2f8a43499d8a..29eee5050cf969a98470c5dad46a03a8f68434f7 100644
(file)
--- a/
initd/init.c
+++ b/
initd/init.c
@@
-77,6
+77,7
@@
main(int argc, char **argv)
sigaction(SIGTERM, &sa_shutdown, NULL);
sigaction(SIGUSR1, &sa_shutdown, NULL);
sigaction(SIGUSR2, &sa_shutdown, NULL);
+ sigaction(SIGPWR, &sa_shutdown, NULL);
early();
cmdline();