summaryrefslogtreecommitdiffstats
path: root/initd/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'initd/init.c')
-rw-r--r--initd/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/initd/init.c b/initd/init.c
index 0d201bc..9818c4f 100644
--- a/initd/init.c
+++ b/initd/init.c
@@ -72,6 +72,8 @@ main(int argc, char **argv)
{
pid_t pid;
+ ulog_open(ULOG_KMSG, LOG_DAEMON, "init");
+
sigaction(SIGTERM, &sa_shutdown, NULL);
sigaction(SIGUSR1, &sa_shutdown, NULL);
sigaction(SIGUSR2, &sa_shutdown, NULL);