summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit Mehta <mohit@vyatta.com>2011-04-15 11:34:44 -0700
committerMohit Mehta <mohit@vyatta.com>2011-04-15 11:34:44 -0700
commit9ce205ac726a8ab5f718b8a856f56e062719c7cb (patch)
treea6dadb2b6379b9a63564a073f4c1019a9dfc5aca
parentd5782682300223c8499aeba8d7b258117a068042 (diff)
downloadvyatta-wanloadbalance-9ce205ac726a8ab5f718b8a856f56e062719c7cb.tar.gz
vyatta-wanloadbalance-9ce205ac726a8ab5f718b8a856f56e062719c7cb.zip
add help and check for missed script node so users put script in /config
-rw-r--r--templates/load-balancing/wan/interface-health/node.tag/test/node.tag/test-script/node.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/load-balancing/wan/interface-health/node.tag/test/node.tag/test-script/node.def b/templates/load-balancing/wan/interface-health/node.tag/test/node.tag/test-script/node.def
index 05e68cb..e472c21 100644
--- a/templates/load-balancing/wan/interface-health/node.tag/test/node.tag/test-script/node.def
+++ b/templates/load-balancing/wan/interface-health/node.tag/test/node.tag/test-script/node.def
@@ -1,3 +1,4 @@
type: txt
help: Path to user defined script
-
+syntax:expression: exec "/opt/vyatta/sbin/check_file_in_config_dir $VAR(@) '/config/scripts'"
+val_help: Script in /config/scripts