summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2005-10-31 10:32:47 +0000
committerhenning <henning@openbsd.org>2005-10-31 10:32:47 +0000
commit2e3327d26d47258ce8f91e6596eea2ff846c87cc (patch)
tree05deeffdc7f388144f86585a15f20f55d05a4820
parentaperture applies to amd64 as well. (diff)
downloadwireguard-openbsd-2e3327d26d47258ce8f91e6596eea2ff846c87cc.tar.xz
wireguard-openbsd-2e3327d26d47258ce8f91e6596eea2ff846c87cc.zip
add bits for watchdogd startup, PR4540 Michael Knudsen <e@molioner.dk>
but I put it at a different place, watchdogd is really not a network daemon
-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 30ff4dc9c4f..b0fc8dcb551 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.273 2005/09/22 23:57:31 deraadt Exp $
+# $OpenBSD: rc,v 1.274 2005/10/31 10:32:47 henning Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -728,6 +728,10 @@ if [ X"${hotplugd_flags}" != X"NO" -a -x /usr/sbin/hotplugd ]; then
echo -n ' hotplugd'; /usr/sbin/hotplugd ${hotplugd_flags}
fi
+if [ X"${watchdogd_flags}" != X"NO" -a -x /usr/sbin/watchdogd ]; then
+ echo -n ' watchdogd'; /usr/sbin/watchdogd ${watchdogd_flags}
+fi
+
echo -n ' cron'; cron
echo '.'
diff --git a/etc/rc.conf b/etc/rc.conf
index 5fc50a5129a..6672d580654 100644
--- a/etc/rc.conf
+++ b/etc/rc.conf
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: rc.conf,v 1.106 2005/06/02 20:09:38 tholo Exp $
+# $OpenBSD: rc.conf,v 1.107 2005/10/31 10:32:47 henning Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for normal use: "-q"
@@ -31,6 +31,7 @@ rtsold_flags=NO # for normal use: interface
lpd_flags=NO # for normal use: "" (or "-l" for debugging)
sensorsd_flags=NO # for normal use: ""
hotplugd_flags=NO # for normal use: ""
+watchdogd_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))