diff options
author | slioch <slioch@eng-140.vyatta.com> | 2009-06-02 10:22:36 -0700 |
---|---|---|
committer | slioch <slioch@eng-140.vyatta.com> | 2009-06-02 16:09:25 -0700 |
commit | e3d168147b3b36d4bc026170336bb4455ed6c75e (patch) | |
tree | 24f9456fee0fcf2324bb7730f2d92f7c157edf58 /templates | |
parent | 16d937141226777cf030d02e87a96b7e4c9c8edb (diff) | |
download | vyatta-wanloadbalance-e3d168147b3b36d4bc026170336bb4455ed6c75e.tar.gz vyatta-wanloadbalance-e3d168147b3b36d4bc026170336bb4455ed6c75e.zip |
fix for bug 4352.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/load-balancing/wan/node.def | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/load-balancing/wan/node.def b/templates/load-balancing/wan/node.def index 5d4b761..523dd73 100644 --- a/templates/load-balancing/wan/node.def +++ b/templates/load-balancing/wan/node.def @@ -1,4 +1,6 @@ help: Configure Wide Area Network (WAN) load-balancing -end:expression: exec "sudo ${vyatta_sbindir}/vyatta-wanloadbalance.pl" +end: if [ ${COMMIT_ACTION} != 'DELETE' ]; then + sudo ${vyatta_sbindir}/vyatta-wanloadbalance.pl; + fi; delete:expression: exec "sudo /etc/init.d/vyatta-wanloadbalance stop;sudo rm -f /var/load-balance/wlb.out" |