diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-01-05 11:23:50 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-01-05 11:23:50 -0800 |
commit | 9c901a3be8d07d8c4e5375223d5acca39511798e (patch) | |
tree | ea624a49e48c00af1e9f14f5911b1b0f403c20b7 /templates | |
parent | 1b815f0ade9309a4552455cd1e451fac7261e8ac (diff) | |
download | vyatta-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.def | 1 |
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 |