Pass pidfile to bsnmpd if it's been changed (parts cut/pasted from
rc.d/rarpd and rc.d/wpa_supplicant)
This commit is contained in:
parent
d7ac7dd6dc
commit
088808bf23
@ -12,7 +12,8 @@
|
||||
name="bsnmpd"
|
||||
rcvar="bsnmpd_enable"
|
||||
command="/usr/sbin/${name}"
|
||||
pidfile="/var/run/snmpd.pid"
|
||||
|
||||
load_rc_config $name
|
||||
pidfile="${bsnmpd_pidfile:-/var/run/snmpd.pid}"
|
||||
command_args="-p ${pidfile}"
|
||||
run_rc_command "$1"
|
||||
|
Loading…
Reference in New Issue
Block a user