On Thu, Sep 09, 2010 at 09:35:05PM +0100, Owain Ainsworth wrote: > On Thu, Sep 09, 2010 at 10:30:38PM +0200, tst wrote: > > This makes rc(8) man page tell about /etc/rc.firsttime. > > > > tilo > > > > > > Index: rc.8 > > =================================================================== > > RCS file: /zeug/OpenBSD/cvs/src/share/man/man8/rc.8,v > > retrieving revision 1.25 > > diff -u -p -r1.25 rc.8 > > --- rc.8 31 May 2007 19:19:59 -0000 1.25 > > +++ rc.8 9 Sep 2010 20:28:04 -0000 > > @@ -125,6 +125,11 @@ See > > .Xr securelevel 7 > > for the effects of setting the security level. > > .Pp > > +If > > +.Nm rc.firsttime > > +exists, it is executed once and then deleted. > > +Any output is mailed to root. > > +.Pp > > .Nm rc.local > > is executed towards the end of > > .Nm rc > > @@ -194,6 +199,8 @@ Site specific command scripts for system > > System daemon configuration database. > > .It /etc/rc.conf.local > > Site specific daemon configuration database. > > +.It /etc/rc.firsttime > > +Commands run at first boot ever. > > I would not use ``ever'' here. > > ``Commands run on the first boot after creation''
"Run on the next boot, after which the rc.firsttime file is deleted"? Also may I stand up in support of banana-shaped bikesheds. > > or similar. > > -0- > -- > It is the business of the future to be dangerous. > -- Hawkwind