RFC: support for "first boot" rc.d scripts
    Colin Percival 
    cperciva at freebsd.org
       
    Mon Oct 14 16:52:15 UTC 2013
    
    
  
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
    
    
More information about the freebsd-current
mailing list