summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/service/snmp/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/service/snmp/node.def b/templates/service/snmp/node.def
index 6ce9c2c7..13b39fa7 100644
--- a/templates/service/snmp/node.def
+++ b/templates/service/snmp/node.def
@@ -6,7 +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
+ sudo rm -f /etc/snmp/snmpd.conf
else
sudo /opt/vyatta/sbin/vyatta-snmp.pl --update-snmp
fi