diff options
author | Simon L. B. Nielsen <simon@FreeBSD.org> | 2004-04-26 19:41:37 +0000 |
---|---|---|
committer | Simon L. B. Nielsen <simon@FreeBSD.org> | 2004-04-26 19:41:37 +0000 |
commit | f59f70e2318db1f2016019663c26a39d6efbad2f (patch) | |
tree | 20d99c70aed744bff23f6fb008c649d4c8e30e1b /etc/rc.d | |
parent | 609caf8db9ebbea1b23b16bf02c151b7d11be8a6 (diff) | |
download | src-f59f70e2318db1f2016019663c26a39d6efbad2f.tar.gz src-f59f70e2318db1f2016019663c26a39d6efbad2f.zip |
Removes the check for the existence of the sysctl variable
debug.watchdog since it is not created by hardware watchdog(4) devices.
The watchdog(4) device is always compiled in the kernel, so removing the
check should not cause any problems.
Approved by: phk
Notes
Notes:
svn path=/head/; revision=128663
Diffstat (limited to 'etc/rc.d')
-rw-r--r-- | etc/rc.d/watchdogd | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/etc/rc.d/watchdogd b/etc/rc.d/watchdogd index e496a4051617..84654dbc6beb 100644 --- a/etc/rc.d/watchdogd +++ b/etc/rc.d/watchdogd @@ -36,16 +36,7 @@ name="watchdogd" rcvar="`set_rcvar`" command="/usr/sbin/${name}" -start_precmd="watchdogd_precmd" pidfile="/var/run/${name}.pid" -watchdogd_precmd() -{ - if ! sysctl debug.watchdog >/dev/null 2>&1; then - err 1 "Your kernel doesn't have watchdog support." - fi - return 0 -} - load_rc_config $name run_rc_command "$1" |