From 46d57d69bfbdfc48d291dbf4d913560d8084a4f1 Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Tue, 29 Sep 2009 09:29:29 -0700 Subject: fix for ppp type interfaces that use the wanlb dhcp configuration option. --- scripts/ppp/ppp-wanlb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 scripts/ppp/ppp-wanlb (limited to 'scripts') 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 -- cgit v1.2.3