aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
AgeCommit message (Collapse)AuthorLines
2014-02-07Remove FIFO from sinitsin-7/+0
We can just run /bin/rc.shutdown reboot|poweroff etc. It complicates things when rootfs is mounted as ro etc.
2014-02-07Refactor codesin-2/+0
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.
2014-02-07Allow fifopath to be NULLsin-0/+1
In that case we do not use the FIFO at all.
2014-02-06Factor out the rc commandssin-2/+9
2014-02-06Initial commitsin-0/+6