summaryrefslogtreecommitdiff
path: root/templates/vpn/rsa-keys/local-key/file/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vpn/rsa-keys/local-key/file/node.def')
-rw-r--r--templates/vpn/rsa-keys/local-key/file/node.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/vpn/rsa-keys/local-key/file/node.def b/templates/vpn/rsa-keys/local-key/file/node.def
index 065c10e..7b5e7d2 100644
--- a/templates/vpn/rsa-keys/local-key/file/node.def
+++ b/templates/vpn/rsa-keys/local-key/file/node.def
@@ -1,3 +1,5 @@
help: Local RSA key file location
type: txt
default: "/opt/vyatta/etc/config/ipsec.d/rsa-keys/localhost.key"
+syntax:expression: exec "/opt/vyatta/sbin/check_file_in_config_dir $VAR(@) '/config/auth'"
+val_help: File in /config/auth or /config/ipsec.d/rsa-keys