From eec6443e2dbfed079b295a5d60fd08cf80aad698 Mon Sep 17 00:00:00 2001 From: Ewald van Geffen Date: Sun, 22 May 2016 01:02:07 +0200 Subject: - Bug 363 support for post-hook: allows to run script once route/firewall change have been applied. --- templates/load-balancing/wan/post-hook/node.def | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 templates/load-balancing/wan/post-hook/node.def (limited to 'templates/load-balancing/wan/post-hook/node.def') diff --git a/templates/load-balancing/wan/post-hook/node.def b/templates/load-balancing/wan/post-hook/node.def new file mode 100644 index 0000000..2666930 --- /dev/null +++ b/templates/load-balancing/wan/post-hook/node.def @@ -0,0 +1,4 @@ +type: txt +help: Script to be executed on interface status change after the firewall rules have been activated. +syntax:expression: exec "/opt/vyatta/sbin/check_file_in_config_dir $VAR(@) '/config/scripts'" +val_help: Script in /config/scripts \ No newline at end of file -- cgit v1.2.3