procd: add SIGPWR as signal
[oweals/procd.git] / initd / init.c
index 0349e6e9d77ef57288a10108326b2f8a43499d8a..29eee5050cf969a98470c5dad46a03a8f68434f7 100644 (file)
@@ -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();