rootfscheck service: use the passed-from-parent control socket file descriptor
authorDavin McCall <davmac@davmac.org>
Wed, 21 Sep 2016 07:23:30 +0000 (08:23 +0100)
committerDavin McCall <davmac@davmac.org>
Wed, 21 Sep 2016 07:23:30 +0000 (08:23 +0100)
commit27d4e2b83f9955b4cc6e941f589bd4a6db99bcc1
treea8172aacea82c55797d0b4fa0ad7eb9e0d27b233
parent3d1c2a293acd29326b9d4abffef164afd56c4af4
rootfscheck service: use the passed-from-parent control socket file descriptor
to issue reboot commands (--use-passed-cfd option to reboot).

This may be necessary since the control socket may not have been created yet, due
to the root filesystem being read-only at this point.
doc/linux/services/rootfscheck
doc/linux/services/rootfscheck.sh