RFC: support for "first boot" rc.d scripts

Hiroki Sato hrs at FreeBSD.org
Mon Oct 14 12:09:13 UTC 2013


Colin Percival <cperciva at freebsd.org> wrote
  in <525B258F.3030403 at freebsd.org>:

cp> I've attached a very simple patch which makes /etc/rc:

cp> +if ! [ -e /var/db/firstboot ]; then
cp> +	skip="$skip -s firstboot"
cp> +fi

 At this stage, it is possible that /var/db does not exist because it
 is before rc.d/mountcritlocal.

-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-rc/attachments/20131014/6a2bcf3a/attachment.sig>


More information about the freebsd-rc mailing list