Revert r254508.

This commit is contained in:
Peter Wemm 2013-08-19 05:12:38 +00:00
parent cc117e2773
commit 8913b090d0

View File

@ -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"