change addon net-snmp to netsnmpd

necessity to display in WEB-IF
This commit is contained in:
Peter Pfeiffer
2009-08-25 14:03:44 +02:00
parent 1ccd3c17a2
commit f1a72ad3b2
4 changed files with 0 additions and 1140 deletions

View File

@@ -1,46 +0,0 @@
#!/bin/sh
########################################################################
# Begin $rc_base/init.d/net-snmp
#
# Description : This is a script that starts net-snmp as deamon
#
# Authors : Peter Pfeiffer (peterman@ipfire.org)
#
# Version : 01.00
#
# Notes :
#
########################################################################
. /etc/sysconfig/rc
. ${rc_functions}
case "${1}" in
start)
boot_mesg "Starting net-snmp - SNMPD..."
loadproc /usr/sbin/snmpd -c /etc/snmpd.conf > /dev/null
evaluate_retval
;;
stop)
boot_mesg "Stopping net-snmp - SNMPD..."
killproc /usr/sbin/snmpd
;;
restart)
${0} stop
sleep 1
${0} start
;;
status)
statusproc /usr/sbin/snmpd
;;
*)
echo "Usage: ${0} {start|stop|restart|status}"
exit 1
;;
esac
# End $rc_base/init.d/net-snmp