From 9d0355ed7f0bbf975788782707905c7d8e6af277 Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 26 Apr 2004 19:41:37 +0000 Subject: 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 --- etc/rc.d/watchdogd | 9 --------- 1 file changed, 9 deletions(-) (limited to 'etc') diff --git a/etc/rc.d/watchdogd b/etc/rc.d/watchdogd index e496a40..84654db 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" -- cgit v1.1