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. .It /etc/rc.securelevel Commands run before the security level changes. .It /etc/rc.shutdown