From 9e7dffe8dc479515b40b63d47975a09c9bd39dfd Mon Sep 17 00:00:00 2001 From: henning <> Date: Mon, 31 Oct 2005 10:32:47 +0000 Subject: [PATCH] add bits for watchdogd startup, PR4540 Michael Knudsen but I put it at a different place, watchdogd is really not a network daemon --- src/etc/rc | 6 +++++- src/etc/rc.conf | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/etc/rc b/src/etc/rc index 30ff4dc9..b0fc8dcb 100644 --- a/src/etc/rc +++ b/src/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/src/etc/rc.conf b/src/etc/rc.conf index 5fc50a51..6672d580 100644 --- a/src/etc/rc.conf +++ b/src/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))