summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>1998-08-25 18:19:42 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>1998-08-25 18:19:42 +0000
commit92bcca2ff7502980cfad677921b11e4b418988f0 (patch)
treeca1861891877a488268b084ac6b017c8eeab374e /etc/rc
parent9357c27d28f901ac690b0395aab584672d40c7d6 (diff)
put back recent change (apmd flags) that was accidently removed
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc10
1 files changed, 9 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index ef9c36fef46..60d7f052be4 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.86 1998/08/19 04:25:46 form Exp $
+# $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,7 +445,15 @@ fi
[ -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