From 8194f460daaa9343ce9863838b14132d0ad8037c Mon Sep 17 00:00:00 2001 From: sin Date: Fri, 7 Feb 2014 12:47:15 +0000 Subject: 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. --- config.def.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'config.def.h') 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 }; -- cgit v1.2.3-54-g00ecf