diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/ppp/ppp-wanlb | 7 |
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 |
