summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-10-31 10:32:48 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-10-31 10:32:48 +0000
commitf6aabf820fd038a813ba0a9c81e100092b9bb3a8 (patch)
tree256628e6ebaedca531cc113860dbb7541f55fb62
parent5f41514bd89ea8e53de00474d72596e128e1a3f9 (diff)
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))