From 7e5fba4962deeef9d5c783063ea4f9d9ea0e75da Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Fri, 6 Aug 2010 09:29:50 -0700 Subject: 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. --- scripts/ppp/ppp-wanlb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3