summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-01-05 11:23:50 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-01-05 11:23:50 -0800
commit9c901a3be8d07d8c4e5375223d5acca39511798e (patch)
treeea624a49e48c00af1e9f14f5911b1b0f403c20b7 /templates
parent1b815f0ade9309a4552455cd1e451fac7261e8ac (diff)
downloadvyatta-cfg-quagga-9c901a3be8d07d8c4e5375223d5acca39511798e.tar.gz
vyatta-cfg-quagga-9c901a3be8d07d8c4e5375223d5acca39511798e.zip
Remove snmpd.conf on deletion
Bug 4499
Diffstat (limited to 'templates')
-rw-r--r--templates/protocols/snmp/node.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/protocols/snmp/node.def b/templates/protocols/snmp/node.def
index 7b0fff19..6ce9c2c7 100644
--- a/templates/protocols/snmp/node.def
+++ b/templates/protocols/snmp/node.def
@@ -6,6 +6,7 @@ delete: touch /tmp/snmp.$PPID
end:if [ -f "/tmp/snmp.$PPID" ]
then sudo /opt/vyatta/sbin/vyatta-snmp.pl --stop-snmp
rm /tmp/snmp.$PPID
+ rm -f /etc/snmp/snmpd.conf
else
sudo /opt/vyatta/sbin/vyatta-snmp.pl --update-snmp
fi