summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ppp/ppp-wanlb3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/ppp/ppp-wanlb b/scripts/ppp/ppp-wanlb
index 7430789..f31e8e2 100644
--- a/scripts/ppp/ppp-wanlb
+++ b/scripts/ppp/ppp-wanlb
@@ -1,7 +1,8 @@
#! /bin/sh
+echo $5 > /var/load-balance/ppp/$6
+
pid=/var/run/vyatta/wlb.pid
if [ -f $pid ]; then
- echo $5 > /var/load-balance/ppp/$6
kill -s SIGUSR2 $( cat $pid ) 2>/dev/null
fi