diff options
Diffstat (limited to 'net-snmp')
-rw-r--r-- | net-snmp/files/init | 63 | ||||
-rw-r--r-- | net-snmp/files/mtx-1/snmpd.conf | 0 | ||||
-rw-r--r-- | net-snmp/files/snmpd.conf | 0 | ||||
-rw-r--r-- | net-snmp/files/snmptrapd.conf | 0 | ||||
-rw-r--r-- | net-snmp/net-snmp_5.1.2.bb | 0 |
5 files changed, 0 insertions, 63 deletions
diff --git a/net-snmp/files/init b/net-snmp/files/init deleted file mode 100644 index 434b2fa3f2..0000000000 --- a/net-snmp/files/init +++ /dev/null @@ -1,63 +0,0 @@ -#! /bin/sh -# /etc/init.d/snmpd: start snmp daemon. - -test -x /usr/sbin/snmpd || exit 0 -test -x /usr/sbin/snmptrapd || exit 0 - -# Defaults -export MIBDIRS=/usr/share/snmp/mibs -SNMPDRUN=yes -SNMPDOPTS='-Lsd -Lf /dev/null -p /var/run/snmpd.pid' -TRAPDRUN=no -TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid' - -# Cd to / before starting any daemons. -cd / - -case "$1" in - start) - echo -n "Starting network management services:" - if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then - start-stop-daemon -S -x /usr/sbin/snmpd \ - -- $SNMPDOPTS - echo -n " snmpd" - fi - if [ "$TRAPDRUN" = "yes" -a -f /etc/snmp/snmptrapd.conf ]; then - start-stop-daemon -S -x /usr/sbin/snmptrapd \ - -- $TRAPDOPTS - echo -n " snmptrapd" - fi - echo "." - ;; - stop) - echo -n "Stopping network management services:" - start-stop-daemon -K -x /usr/sbin/snmpd - echo -n " snmpd" - start-stop-daemon -K -x /usr/sbin/snmptrapd - echo -n " snmptrapd" - echo "." - ;; - restart|reload|force-reload) - echo -n "Restarting network management services:" - start-stop-daemon -K -x /usr/sbin/snmpd - start-stop-daemon -K -x /usr/sbin/snmptrapd - # Allow the daemons time to exit completely. - sleep 2 - if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then - start-stop-daemon -S -x /usr/sbin/snmpd -- $SNMPDOPTS - echo -n " snmpd" - fi - if [ "$TRAPDRUN" = "yes" -a -f /etc/snmp/snmptrapd.conf ]; then - # Allow snmpd time to start up. - sleep 1 - start-stop-daemon -S -x /usr/sbin/snmptrapd -- $TRAPDOPTS - echo -n " snmptrapd" - fi - echo "." - ;; - *) - echo "Usage: /etc/init.d/snmpd {start|stop|restart|reload|force-reload}" - exit 1 -esac - -exit 0 diff --git a/net-snmp/files/mtx-1/snmpd.conf b/net-snmp/files/mtx-1/snmpd.conf deleted file mode 100644 index e69de29bb2..0000000000 --- a/net-snmp/files/mtx-1/snmpd.conf +++ /dev/null diff --git a/net-snmp/files/snmpd.conf b/net-snmp/files/snmpd.conf deleted file mode 100644 index e69de29bb2..0000000000 --- a/net-snmp/files/snmpd.conf +++ /dev/null diff --git a/net-snmp/files/snmptrapd.conf b/net-snmp/files/snmptrapd.conf deleted file mode 100644 index e69de29bb2..0000000000 --- a/net-snmp/files/snmptrapd.conf +++ /dev/null diff --git a/net-snmp/net-snmp_5.1.2.bb b/net-snmp/net-snmp_5.1.2.bb deleted file mode 100644 index e69de29bb2..0000000000 --- a/net-snmp/net-snmp_5.1.2.bb +++ /dev/null |