summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/dhcp/04-dhcp-wanlb2
-rw-r--r--scripts/ppp/04-ppp-wanlb2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/dhcp/04-dhcp-wanlb b/scripts/dhcp/04-dhcp-wanlb
index 07f5ba3..949fbb1 100644
--- a/scripts/dhcp/04-dhcp-wanlb
+++ b/scripts/dhcp/04-dhcp-wanlb
@@ -1,4 +1,4 @@
pid=/var/run/vyatta/wlb.pid
if [ -f $pid ]; then
- kill -s SIGUSR2 $( cat $pid ) 2>/dev/null
+ sudo kill -s SIGUSR2 $( cat $pid ) 2>/dev/null
fi
diff --git a/scripts/ppp/04-ppp-wanlb b/scripts/ppp/04-ppp-wanlb
index f3411cb..9cc50ee 100644
--- a/scripts/ppp/04-ppp-wanlb
+++ b/scripts/ppp/04-ppp-wanlb
@@ -5,5 +5,5 @@ echo $5 > /var/run/load-balance/ppp/$6
pid=/var/run/vyatta/wlb.pid
if [ -f $pid ]; then
- kill -s SIGUSR2 $( cat $pid ) 2>/dev/null
+ sudo kill -s SIGUSR2 $( cat $pid ) 2>/dev/null
fi