From b8cb53193c0d235cec99d70bb63838f27c3c5fda Mon Sep 17 00:00:00 2001 From: sin Date: Fri, 7 Feb 2014 16:15:48 +0000 Subject: Remove FIFO from sinit We can just run /bin/rc.shutdown reboot|poweroff etc. It complicates things when rootfs is mounted as ro etc. --- config.def.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'config.def.h') 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 } }, -}; -- cgit v1.2.3-54-g00ecf