summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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