mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-18 23:12:59 +02:00
change init.d_script for net-snmp
This commit is contained in:
@@ -18,13 +18,13 @@
|
||||
case "${1}" in
|
||||
start)
|
||||
boot_mesg "Starting net-snmp - SNMPD..."
|
||||
loadproc /usr/local/sbin/snmpd -c /etc/snmpd.conf > /dev/null
|
||||
loadproc /usr/sbin/snmpd -c /etc/snmpd.conf > /dev/null
|
||||
evaluate_retval
|
||||
;;
|
||||
|
||||
stop)
|
||||
boot_mesg "Stopping net-snmp - SNMPD..."
|
||||
killproc /usr/local/sbin/snmpd
|
||||
killproc /usr/sbin/snmpd
|
||||
;;
|
||||
|
||||
restart)
|
||||
@@ -34,7 +34,7 @@ case "${1}" in
|
||||
;;
|
||||
|
||||
status)
|
||||
statusproc /usr/local/sbin/snmpd
|
||||
statusproc /usr/sbin/snmpd
|
||||
;;
|
||||
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user