From 23dbb870c7ad1d82a5c2a967683158da54ab3469 Mon Sep 17 00:00:00 2001 From: sin Date: Fri, 7 Feb 2014 11:41:55 +0000 Subject: Allow fifopath to be NULL In that case we do not use the FIFO at all. --- config.def.h | 1 + 1 file changed, 1 insertion(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index a257b45..ac9cf9b 100644 --- a/config.def.h +++ b/config.def.h @@ -6,6 +6,7 @@ static Arg rcinitarg = { .v = rcinitcmd }; 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 } }, -- cgit v1.2.3-54-g00ecf