diff --git a/src/etc/inc/system.inc b/src/etc/inc/system.inc index f44d13a5f..1a35d8551 100644 --- a/src/etc/inc/system.inc +++ b/src/etc/inc/system.inc @@ -1784,28 +1784,6 @@ function system_disable_arp_wrong_if() )); } -function enable_watchdog() -{ - global $config; - - return; /* XXX delete or repair please */ - - $install_watchdog = false; - $supported_watchdogs = array("Geode"); - $file = @file_get_contents('/var/run/dmesg.boot'); - foreach($supported_watchdogs as $sd) { - if(stristr($file, "Geode")) { - $install_watchdog = true; - } - } - if($install_watchdog == true) { - if(is_process_running("watchdogd")) { - mwexec("/usr/bin/killall watchdogd", true); - } - exec("/usr/sbin/watchdogd"); - } -} - function get_possible_listen_ips($include_ipv6_link_local=false) { $interfaces = get_configured_interface_with_descr(); $carplist = get_configured_carp_interface_list(); diff --git a/src/etc/rc.bootup b/src/etc/rc.bootup index 414c53a3a..cfba0696d 100755 --- a/src/etc/rc.bootup +++ b/src/etc/rc.bootup @@ -333,9 +333,6 @@ reload_ttys(); /* load graphing functions */ enable_rrd_graphing(); -/* enable watchdog if supported */ -enable_watchdog(); - /* if we are operating at 1000 then increase timeouts. this was never accounted for after moving to 1000 hz */ $kern_hz = get_single_sysctl('kern.clockrate');