aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-02-07 16:15:48 +0000
committersin <sin@2f30.org>2014-02-07 16:15:48 +0000
commitb8cb53193c0d235cec99d70bb63838f27c3c5fda (patch)
treee3ee7a83080fb556532af67b945773717eff66c2 /config.def.h
parentc381441b7020aaeea599de9a5569e2be8fb147c6 (diff)
Remove FIFO from sinit
We can just run /bin/rc.shutdown reboot|poweroff etc. It complicates things when rootfs is mounted as ro etc.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/config.def.h b/config.def.h
index 9bfe505..75b2329 100644
--- a/config.def.h
+++ b/config.def.h
@@ -3,10 +3,3 @@
static const char *rcinitcmd[] = { "/bin/rc.init", NULL };
static const char *rcrebootcmd[] = { "/bin/rc.shutdown", "reboot", NULL };
static const char *rcpoweroffcmd[] = { "/bin/rc.shutdown", "poweroff", NULL };
-
-/* if you make this path NULL, then sinit will not use a FIFO */
-static const char *fifopath = "/var/run/sinit.fifo";
-static Command commands[] = {
- { "poweroff", spawn, { .v = rcpoweroffcmd } },
- { "reboot", spawn, { .v = rcrebootcmd } },
-};