=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/Attic/rc.local,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- src/etc/Attic/rc.local 2011/03/17 16:43:51 1.42 +++ src/etc/Attic/rc.local 2011/04/18 18:08:20 1.43 @@ -1,16 +1,18 @@ -# $OpenBSD: rc.local,v 1.42 2011/03/17 16:43:51 robert Exp $ +# $OpenBSD: rc.local,v 1.43 2011/04/18 18:08:20 robert Exp $ # Site-specific startup actions, daemons, and other things which # can be done AFTER your system goes into securemode. For actions # which should be done BEFORE your system has gone into securemode # please see /etc/rc.securelevel. -echo -n 'starting local daemons:' +if [ -n "${rc_scripts}" ]; then + echo -n 'starting local daemons:' -for _r in $rc_scripts; do - [ -x /etc/rc.d/${_r} ] && /etc/rc.d/${_r} start -done + for _r in $rc_scripts; do + [ -x /etc/rc.d/${_r} ] && /etc/rc.d/${_r} start + done -# Add your local startup actions here. + echo '.' +fi -echo '.' +# Add your local startup actions here.