summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit Mehta <mohit@vyatta.com>2011-04-15 14:07:48 -0700
committerMohit Mehta <mohit@vyatta.com>2011-04-15 14:07:48 -0700
commitc157863fd4361fd1ff19a76c2acdd635d0a44698 (patch)
tree42c52241a378f458984acc8209c82821601eff53
parent97f1ad52eed8dbff568813f7c77900e41c8c38f3 (diff)
downloadvyatta-cfg-vpn-c157863fd4361fd1ff19a76c2acdd635d0a44698.tar.gz
vyatta-cfg-vpn-c157863fd4361fd1ff19a76c2acdd635d0a44698.zip
add help and check for missed auth node so users put it in /config
-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