summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMichael Larson <mike@ft1.vyatta.com>2009-09-29 09:29:29 -0700
committerMichael Larson <mike@ft1.vyatta.com>2009-09-29 09:29:29 -0700
commit46d57d69bfbdfc48d291dbf4d913560d8084a4f1 (patch)
treea990a105144f05db04f29f1d89f3de5de45fd4d2 /scripts
parentc7a65df14e51fd04e857039f0c282f1f7cb3b8d0 (diff)
downloadvyatta-wanloadbalance-46d57d69bfbdfc48d291dbf4d913560d8084a4f1.tar.gz
vyatta-wanloadbalance-46d57d69bfbdfc48d291dbf4d913560d8084a4f1.zip
fix for ppp type interfaces that use the wanlb dhcp configuration option.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ppp/ppp-wanlb7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/ppp/ppp-wanlb b/scripts/ppp/ppp-wanlb
new file mode 100644
index 0000000..7430789
--- /dev/null
+++ b/scripts/ppp/ppp-wanlb
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+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