priority: 980
help: Simple Network Management Protocol (SNMP)
commit:expression: $VAR(community/) != "" || $VAR(community6/) != "" \
		   ; "must configure a community or community6"

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
	 sudo rm -f /etc/snmp/snmpd.conf
    else
        sudo /opt/vyatta/sbin/vyatta-snmp.pl --update-snmp
    fi
