summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/services.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 8ea7139..d5fd9f0 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -425,9 +425,11 @@ EOD;
fwrite($fd, $snmpdconf);
fclose($fd);
- /* run snmpd */
- mwexec("/usr/local/sbin/snmpd -c {$g['varetc_path']}/snmpd.conf" .
- " -P {$g['varrun_path']}/snmpd.pid");
+ /* run bsnmpd */
+ mwexec("/usr/sbin/bsnmpd -c {$g['varetc_path']}/snmpd.conf" .
+ " -p {$g['varrun_path']}/snmpd.pid");
+// mwexec("/usr/local/sbin/snmpd -c {$g['varetc_path']}/snmpd.conf" .
+// " -P {$g['varrun_path']}/snmpd.pid");
if ($g['booting'])
echo "done.\n";
OpenPOWER on IntegriCloud