aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-02-07 12:47:15 +0000
committersin <sin@2f30.org>2014-02-07 12:57:46 +0000
commit8194f460daaa9343ce9863838b14132d0ad8037c (patch)
treee8f37cc8d5b70a4daa4640afb82df2c69f8b82a7 /config.def.h
parent23dbb870c7ad1d82a5c2a967683158da54ab3469 (diff)
Refactor code
We no longer have two processes, one for reaping children and another for handling the FIFO. Use signalfd() to multiplex signal handling and reading from the FIFO. This setup will also allow us to capture ctrl-alt-del and to work with a read-only rootfs. To create the FIFO, we send a SIGHUP signal to init from our init scripts.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index ac9cf9b..9bfe505 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,8 +1,6 @@
/* See LICENSE file for copyright and license details. */
static const char *rcinitcmd[] = { "/bin/rc.init", NULL };
-static Arg rcinitarg = { .v = rcinitcmd };
-
static const char *rcrebootcmd[] = { "/bin/rc.shutdown", "reboot", NULL };
static const char *rcpoweroffcmd[] = { "/bin/rc.shutdown", "poweroff", NULL };