Browse Source

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
OPENBSD_3_9
henning 18 years ago
parent
commit
9e7dffe8dc
2 changed files with 7 additions and 2 deletions
  1. +5
    -1
      src/etc/rc
  2. +2
    -1
      src/etc/rc.conf

+ 5
- 1
src/etc/rc View File

@ -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 '.'


+ 2
- 1
src/etc/rc.conf View File

@ -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))


Loading…
Cancel
Save