diff options
author | David Oberhollenzer <goliath@infraroot.at> | 2019-03-17 18:33:12 +0100 |
---|---|---|
committer | David Oberhollenzer <goliath@infraroot.at> | 2019-03-18 14:15:58 +0100 |
commit | 08f72865b29598faa5074ef21f583508f94dea98 (patch) | |
tree | f816f3cbdaefc2c45fbaa5827c2e5bd4cfebe1dd /initd/init.h | |
parent | c78bbd2f731ae44c7d2588b9bb3d19005f192fc6 (diff) |
Add init socket to initd
Create a socket if boot target is done. Close and reopen socket
if SIGUSR1 is received.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'initd/init.h')
-rw-r--r-- | initd/init.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/initd/init.h b/initd/init.h index 42ef193..ce0bb1f 100644 --- a/initd/init.h +++ b/initd/init.h @@ -5,6 +5,7 @@ #include <sys/types.h> #include <sys/wait.h> #include <sys/socket.h> +#include <sys/un.h> #include <string.h> #include <stdlib.h> #include <unistd.h> @@ -17,6 +18,7 @@ #include <sys/reboot.h> #include <signal.h> +#include "initsock.h" #include "service.h" #include "util.h" |