Date: Mon, 14 Oct 2013 09:53:43 -0700 From: Colin Percival <cperciva@freebsd.org> To: Hiroki Sato <hrs@FreeBSD.org> Cc: freebsd-current@FreeBSD.org, freebsd-rc@FreeBSD.org Subject: Re: RFC: support for "first boot" rc.d scripts Message-ID: <525C2197.9020405@freebsd.org> In-Reply-To: <20131014.210726.1989833413225901961.hrs@allbsd.org> References: <525B258F.3030403@freebsd.org> <20131014.210726.1989833413225901961.hrs@allbsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/14/13 05:07, Hiroki Sato wrote: > Colin Percival <cperciva@freebsd.org> wrote > in <525B258F.3030403@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?525C2197.9020405>