Revert r254508.
This commit is contained in:
parent
cc117e2773
commit
8913b090d0
@ -12,17 +12,7 @@
|
||||
name="bsnmpd"
|
||||
rcvar="bsnmpd_enable"
|
||||
command="/usr/sbin/${name}"
|
||||
start_cmd="bsnmpd_start"
|
||||
|
||||
bsnmpd_start()
|
||||
{
|
||||
rc_flags="-p ${pidfile} ${bsnmpd_flags}"
|
||||
echo -n "Starting bsnmpd"
|
||||
su -m $user -c "$command ${rc_flags}"
|
||||
echo "."
|
||||
}
|
||||
pidfile="/var/run/snmpd.pid"
|
||||
|
||||
load_rc_config $name
|
||||
user="${bsnmpd_username:-root}"
|
||||
pidfile="${bsnmpd_pidfile:-/var/run/snmpd.pid}"
|
||||
run_rc_command "$1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user