summaryrefslogtreecommitdiff
path: root/scripts/ppp/04-ppp-wanlb
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-05-09 18:27:27 +0200
committerGitHub <noreply@github.com>2023-05-09 18:27:27 +0200
commit5a3ab6c426928644dc9ad9a70296263781523919 (patch)
tree11f03844ff769ffbe1b8b969d803b64fdd640503 /scripts/ppp/04-ppp-wanlb
parent70eff8e0ab776aabfc2058353d8a5d51b60d1deb (diff)
parentbaafb4a40b48bdf04b423a81ef9b91238c9c0efc (diff)
downloadvyatta-wanloadbalance-5a3ab6c426928644dc9ad9a70296263781523919.tar.gz
vyatta-wanloadbalance-5a3ab6c426928644dc9ad9a70296263781523919.zip
Merge pull request #18 from sever-sever/T5209
T5209: Add sudo for user signal wan_lb PID
Diffstat (limited to 'scripts/ppp/04-ppp-wanlb')
-rw-r--r--scripts/ppp/04-ppp-wanlb2
1 files changed, 1 insertions, 1 deletions
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