Tags: patch
This applies to both --reload and --force-reload.
--- net-snmp-5.4.1~dfsg.orig/debian/snmpd.init 2010-08-11
16:05:17.000000000 +0100
+++ net-snmp-5.4.1~dfsg/debian/snmpd.init 2010-08-11
16:07:06.000000000 +0100
@@ -84,6 +84,11 @@
--pidfile /var/run/snmpd.pid --exec /usr/sbin/snmpd
echo -n " snmpd"
fi
+ if [ "$TRAPDRUN" = "yes" -a -f /etc/snmp/snmptrapd.conf ]; then
+ start-stop-daemon --quiet --stop --signal 1 \
+ --pidfile /var/run/snmptrapd.pid --exec /usr/sbin/snmptrapd
+ echo -n " snmptrapd"
+ fi
echo "."
;;
*)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]