=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/rc,v retrieving revision 1.334 retrieving revision 1.335 diff -c -r1.334 -r1.335 *** src/etc/rc 2009/12/04 21:58:41 1.334 --- src/etc/rc 2010/01/04 18:03:30 1.335 *************** *** 1,4 **** ! # $OpenBSD: rc,v 1.334 2009/12/04 21:58:41 deraadt Exp $ # System startup script run by init on autoboot # or after single-user. --- 1,4 ---- ! # $OpenBSD: rc,v 1.335 2010/01/04 18:03:30 deraadt Exp $ # System startup script run by init on autoboot # or after single-user. *************** *** 778,783 **** --- 778,790 ---- /usr/libexec/kdc & # Remember to enable hpropd in inetd.conf fi + + # If rc.firstime exists, run it just once, and make sure it is deleted + if [ -f /etc/rc.firsttime ]; then + mv /etc/rc.firsttime /etc/rc.firsttime.run + . /etc/rc.firsttime.run 2>&1 | mail -s 'rc.firsttime output' root + fi + rm -f /etc/rc.firsttime.run [ -f /etc/rc.local ] && . /etc/rc.local