From c7f0ea5d37da2c7e555e6f0aae1390c84a682c0e Mon Sep 17 00:00:00 2001
From: Christian Poessinger <christian@poessinger.com>
Date: Mon, 4 Jun 2018 20:23:37 +0200
Subject: T652: Rewrite service snmp in new style XML interface definition

Perl scripts will be removed when op mode commands are implemented.
---
 templates/service/snmp/v3/tsm/local-key/node.def | 14 --------------
 1 file changed, 14 deletions(-)
 delete mode 100644 templates/service/snmp/v3/tsm/local-key/node.def

(limited to 'templates/service/snmp/v3/tsm/local-key/node.def')

diff --git a/templates/service/snmp/v3/tsm/local-key/node.def b/templates/service/snmp/v3/tsm/local-key/node.def
deleted file mode 100644
index a630dff8..00000000
--- a/templates/service/snmp/v3/tsm/local-key/node.def
+++ /dev/null
@@ -1,14 +0,0 @@
-type: txt
-help: Defines the server certificate fingerprint or key-file name.
-allowed: if sudo [ -d /etc/snmp/tls/certs ]; then
-      sudo ls /etc/snmp/tls/certs 2> /dev/null
-    else
-      sudo ls /config/snmp/tls/certs 2> /dev/null
-    fi
-syntax:expression: pattern $VAR(@) "^[0-9A-F]{2}(:[0-9A-F]{2}){19}$" ||
-    exec "if sudo [ -f /etc/snmp/tls/certs/$VAR(@) -o -f /config/snmp/tls/certs/$VAR(@) ]; \
-      then \
-	 exit 0; \
-      else \
-        exit 1; \
-      fi" ; "value can be finger print key or filename in /config/snmp/tls/certs/ folder"
\ No newline at end of file
-- 
cgit v1.2.3

