summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrange <grange@openbsd.org>2004-06-04 04:26:41 +0000
committergrange <grange@openbsd.org>2004-06-04 04:26:41 +0000
commitf255c2937ce53b1d57d57c6a0583793c55cac71e (patch)
tree0fecf3b595bc3e928634f19878fceac0be6edaa0
parentknf + new interface: hid_start() is non-exit non-stderr spewing version of hid_init(); ok matthieu millert (diff)
downloadwireguard-openbsd-f255c2937ce53b1d57d57c6a0583793c55cac71e.tar.xz
wireguard-openbsd-f255c2937ce53b1d57d57c6a0583793c55cac71e.zip
hotplugd startup.
ok deraadt@
-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 e8e9cc96524..c90c4427ccc 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.247 2004/05/16 15:45:46 henning Exp $
+# $OpenBSD: rc,v 1.248 2004/06/04 04:26:41 grange Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -640,6 +640,10 @@ if [ X"${sensorsd_flags}" != X"NO" ]; then
echo -n ' sensorsd'; /usr/sbin/sensorsd ${sensorsd_flags}
fi
+if [ X"${hotplugd_flags}" != X"NO" -a -x /usr/sbin/hotplugd ]; then
+ echo -n ' hotplugd'; /usr/sbin/hotplugd ${hotplugd_flags}
+fi
+
echo -n ' cron'; cron
echo '.'
diff --git a/etc/rc.conf b/etc/rc.conf
index d6ebb044181..9e5a1e51e25 100644
--- a/etc/rc.conf
+++ b/etc/rc.conf
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: rc.conf,v 1.96 2004/05/25 16:41:01 jakob Exp $
+# $OpenBSD: rc.conf,v 1.97 2004/06/04 04:26:41 grange Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for normal use: "-q"
@@ -28,6 +28,7 @@ rtsold_flags=NO # for normal use: interface
# 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: ""
+hotplugd_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))