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

From: Colin Percival <cperciva_at_freebsd.org>
Date: Mon, 14 Oct 2013 09:51:22 -0700
Hi Nick,

On 10/14/13 00:59, Nick Hibma wrote:
> Sounds useful: We have nanobsd images that configure a hard disk if present, but obviously only need to be run once.
> 
> However: NanoBSD stores uses a memory disk for /etc and stores it's permanent scripts in /conf/* (/etc/rc.initdiskless) and/or /cfg (NanoBSD) so I doubt whether the 'embedded systems' argument is of much use, as deleting the script or flagging 'firstboot' is non-permanent.

Yes, it's hard to store state on diskless systems... but I figured
that anyone building a diskless system would know to not create a
"run firstboot scripts" marker.  And not all embedded systems are
diskless...

-- 
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:52:15 UTC

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