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

From: Colin Percival <cperciva_at_freebsd.org>
Date: Mon, 14 Oct 2013 09:53:43 -0700
On 10/14/13 05:07, Hiroki Sato wrote:
> 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.

Ah, good point.  I guess we need something on / then?

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
Received on Mon Oct 14 2013 - 14:54:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:42 UTC