summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit Mehta <mohit@vyatta.com>2011-04-13 18:13:45 -0700
committerMohit Mehta <mohit@vyatta.com>2011-04-13 18:13:45 -0700
commitaf6fb70d25a7827fdad089ed40996430a43e1a8a (patch)
tree966a45ca520a03884d04e01b326b7c3b6ca649ea
parent3e343894c2f8f2bf51a9d5cfc91cb59ae070ed30 (diff)
downloadvyatta-wanloadbalance-af6fb70d25a7827fdad089ed40996430a43e1a8a.tar.gz
vyatta-wanloadbalance-af6fb70d25a7827fdad089ed40996430a43e1a8a.zip
* Add help and checks for WLB hook node to push
users towards putting scripts in /config/scripts
-rw-r--r--templates/load-balancing/wan/hook/node.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/load-balancing/wan/hook/node.def b/templates/load-balancing/wan/hook/node.def
index e8326b4..efaa775 100644
--- a/templates/load-balancing/wan/hook/node.def
+++ b/templates/load-balancing/wan/hook/node.def
@@ -1,2 +1,4 @@
type: txt
help: Script to be executed on interface status change
+syntax:expression: exec "/opt/vyatta/sbin/check_file_in_config_dir $VAR(@) '/config/scripts'"
+val_help: Script in /config/scripts