summaryrefslogtreecommitdiff
path: root/templates/protocols/snmp/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/snmp/node.def')
-rw-r--r--templates/protocols/snmp/node.def12
1 files changed, 0 insertions, 12 deletions
diff --git a/templates/protocols/snmp/node.def b/templates/protocols/snmp/node.def
deleted file mode 100644
index 6ce9c2c7..00000000
--- a/templates/protocols/snmp/node.def
+++ /dev/null
@@ -1,12 +0,0 @@
-priority: 980
-help: Configure Simple Network Management Protocol (SNMP)
-commit:expression: $VAR(community/) != ""; "must configure a community"
-
-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