summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2003-11-18 16:37:34 +0000
committerhenning <henning@openbsd.org>2003-11-18 16:37:34 +0000
commit793d0ae6b6dc635474f22e8742ecc977ac2d15b5 (patch)
tree60b0939fe26622aeff2cff29db8b3c6bf51bdf50
parentupdate to BIND v9.2.3. ok todd@ (diff)
downloadwireguard-openbsd-793d0ae6b6dc635474f22e8742ecc977ac2d15b5.tar.xz
wireguard-openbsd-793d0ae6b6dc635474f22e8742ecc977ac2d15b5.zip
sensorsd startup via rc/rc.conf
ok millert@
-rw-r--r--etc/rc6
-rw-r--r--etc/rc.conf3
2 files changed, 7 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 07ab0b17bf8..8bff501b6a2 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.228 2003/07/29 17:52:17 henning Exp $
+# $OpenBSD: rc,v 1.229 2003/11/18 16:37:34 henning Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -597,6 +597,10 @@ if [ "X${apmd_flags}" != X"NO" -a -x /usr/sbin/apmd ]; then
echo -n ' apmd'; /usr/sbin/apmd ${apmd_flags}
fi
+if [ X"${sensorsd_flags}" != X"NO" ]; then
+ echo -n ' sensorsd'; /usr/sbin/sensorsd ${sensorsd_flags}
+fi
+
echo -n ' cron'; cron
echo '.'
diff --git a/etc/rc.conf b/etc/rc.conf
index 5cace7755fd..60607bd1b58 100644
--- a/etc/rc.conf
+++ b/etc/rc.conf
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: rc.conf,v 1.90 2003/07/01 23:05:06 david Exp $
+# $OpenBSD: rc.conf,v 1.91 2003/11/18 16:37:34 henning Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for normal use: "-q"
@@ -26,6 +26,7 @@ rtsold_flags=NO # for normal use: interface
# be sure to set net.inet6.ip6.forwarding=0
# be sure to set net.inet6.ip6.accept_rtadv=1
lpd_flags=NO # for normal use: "" (or "-l" for debugging)
+sensorsd_flags=NO # for normal use: ""
# use -u to disable chroot, see httpd(8)
httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8))