summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2009-06-22 17:11:38 -0400
committerChris Buechler <cmb@pfsense.org>2009-06-22 17:11:38 -0400
commitc8c4c1d022b57d7d4b0d515dedd0ccff6603c5d9 (patch)
tree7fb7093cce1ae06b9b342ef0c0c9be16b901ece6
parent854a64d1075d6c366f88fde7770455d91cd20e4a (diff)
downloadpfsense-c8c4c1d022b57d7d4b0d515dedd0ccff6603c5d9.zip
pfsense-c8c4c1d022b57d7d4b0d515dedd0ccff6603c5d9.tar.gz
remove watchdog
-rw-r--r--etc/inc/system.inc20
-rwxr-xr-xetc/rc.bootup3
2 files changed, 0 insertions, 23 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index e618f6b..c82f2bb 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -1275,24 +1275,4 @@ function system_enable_arp_wrong_if() {
mwexec("/sbin/sysctl -n net.link.ether.inet.log_arp_movements=1");
}
-function enable_watchdog() {
- global $config;
- // this is disabled until the IPSEC throughput issues
- // can bre resolved.
- return;
- $install_watchdog = false;
- $supported_watchdogs = array("Geode");
- $file = file_get_contents("/var/log/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");
- }
-}
-
?> \ No newline at end of file
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 61c3f50..653e29a 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -346,9 +346,6 @@ function rescue_detect_keypress() {
include_once("/usr/local/pkg/routed/routed.inc");
setup_routed();
- /* enable watchdog if supported */
- enable_watchdog();
-
/* if <system><afterbootupshellcmd> exists, execute the command */
if($config['system']['afterbootupshellcmd'] <> "")
mwexec($config['system']['afterbootupshellcmd']);
OpenPOWER on IntegriCloud