diff options
| author | Michael Larson <slioch@slioch.vyatta.com> | 2010-08-06 09:29:50 -0700 |
|---|---|---|
| committer | Michael Larson <slioch@slioch.vyatta.com> | 2010-08-06 09:34:40 -0700 |
| commit | 7e5fba4962deeef9d5c783063ea4f9d9ea0e75da (patch) | |
| tree | 1efc70b5fd855b74b222a399657faeb401ffe517 /scripts | |
| parent | 10fe94c95d9665399dfb40e1a438d1e81f9597a2 (diff) | |
| download | vyatta-wanloadbalance-7e5fba4962deeef9d5c783063ea4f9d9ea0e75da.tar.gz vyatta-wanloadbalance-7e5fba4962deeef9d5c783063ea4f9d9ea0e75da.zip | |
fix for bug 5991 and 5715.
The problem was introduced when the start order for WLB and pppoe interfaces changed (must have been sometime pre-kenwood). The
pppoe hook script was checking for the existence of WLB prior to updating the nexthop information for WLB. The fix is to perform the
update without this check and WLB will pick up the changes when it is eventually started.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/ppp/ppp-wanlb | 3 |
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 |
