=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/rc,v retrieving revision 1.86 retrieving revision 1.87 diff -c -r1.86 -r1.87 *** src/etc/rc 1998/08/19 04:25:46 1.86 --- src/etc/rc 1998/08/25 18:19:40 1.87 *************** *** 1,4 **** ! # $OpenBSD: rc,v 1.86 1998/08/19 04:25:46 form Exp $ # System startup script run by init on autoboot # or after single-user. --- 1,4 ---- ! # $OpenBSD: rc,v 1.87 1998/08/25 18:19:40 marc Exp $ # System startup script run by init on autoboot # or after single-user. *************** *** 445,451 **** --- 445,459 ---- [ -f /etc/rc.local ] && . /etc/rc.local echo -n standard daemons: + + # $apmd_flags is imported from /etc/rc.conf; + # don't run daemon if $apmd_flags == NO or /usr/sbin/apmd doesn't exist + if [ "X${apmd_flags}" != X"NO" -a -x /usr/sbin/apmd ]; then + echo -n ' apmd'; /usr/sbin/apmd ${apmd_flags} + fi + echo -n ' cron'; cron + echo '.' date