Commit 667b7d39 authored by Franco Fichtner's avatar Franco Fichtner

bsnmpd: use the force, don't want multiple services

parent 30a29f64
...@@ -67,7 +67,7 @@ function bsnmpd_configure_do($verbose = false) ...@@ -67,7 +67,7 @@ function bsnmpd_configure_do($verbose = false)
{ {
global $config, $g; global $config, $g;
killbypid('/var/run/snmpd.pid', 'TERM', true); killbyname('bsnmpd');
if (!bsnmpd_enabled()) { if (!bsnmpd_enabled()) {
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment