summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-03-11 09:44:27 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-03-11 09:47:09 -0300
commit9f9bdb77f35667586c78f8fa3c5a12c11c8c1085 (patch)
tree2e5d8f4d0da86d35271f92b04adce863ce150ee3 /etc
parent1b2af00760074bf78fdeb0f80bea801763bf96b9 (diff)
downloadpfsense-9f9bdb77f35667586c78f8fa3c5a12c11c8c1085.zip
pfsense-9f9bdb77f35667586c78f8fa3c5a12c11c8c1085.tar.gz
Disable SNMP hostres module on APU boards until we figure out why it's crashing on this specific board. Ticket #4403
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/services.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 7fcffda..d915d07 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -2114,12 +2114,16 @@ begemotSnmpdModulePath."pf" = "/usr/lib/snmp_pf.so"
EOD;
}
- if(isset($config['snmpd']['modules']['hostres'])) {
+ /* XXX: hostres module crashes APU - ticket #4403 */
+ $specplatform = system_identify_specific_platform();
+ if(isset($config['snmpd']['modules']['hostres']) && $specplatform['name'] != 'APU') {
$snmpdconf .= <<<EOD
begemotSnmpdModulePath."hostres" = "/usr/lib/snmp_hostres.so"
EOD;
}
+ unset($specplatform);
+
if(isset($config['snmpd']['modules']['bridge'])) {
$snmpdconf .= <<<EOD
begemotSnmpdModulePath."bridge" = "/usr/lib/snmp_bridge.so"
OpenPOWER on IntegriCloud