From af6fb70d25a7827fdad089ed40996430a43e1a8a Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Wed, 13 Apr 2011 18:13:45 -0700 Subject: * Add help and checks for WLB hook node to push users towards putting scripts in /config/scripts --- templates/load-balancing/wan/hook/node.def | 2 ++ 1 file changed, 2 insertions(+) (limited to 'templates/load-balancing') 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 -- cgit v1.2.3