diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-01-05 15:34:56 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-01-05 15:34:56 -0800 |
commit | c5e6a28f5697e9448dbb343f5023709cbc2d3c8b (patch) | |
tree | 05d387c41900933fb729b7a6cfd0d0c98bfb92ea /templates/protocols/snmp/node.def | |
parent | fa603975fdbbc7726dbb923e6cb2fc0649c28a98 (diff) | |
download | vyatta-cfg-system-c5e6a28f5697e9448dbb343f5023709cbc2d3c8b.tar.gz vyatta-cfg-system-c5e6a28f5697e9448dbb343f5023709cbc2d3c8b.zip |
Change 'protocols snmp' to 'service snmp'
Bug 212
The entries in config under protocols were all routing protocols
except SNMP which was an unfortunate original design choice.
Config script does migration.
Diffstat (limited to 'templates/protocols/snmp/node.def')
-rw-r--r-- | templates/protocols/snmp/node.def | 12 |
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 |