diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2010-11-21 02:46:51 -0800 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2010-11-21 02:46:51 -0800 |
commit | f9d661f8b251323d589218613899b7ed7a1456d6 (patch) | |
tree | 760a5eaaf903812765e86892aace376165cfcef3 /templates | |
parent | 39c850fc508e078bfd680140e1ce1797881ef905 (diff) | |
download | vyatta-op-f9d661f8b251323d589218613899b7ed7a1456d6.tar.gz vyatta-op-f9d661f8b251323d589218613899b7ed7a1456d6.zip |
Allow admin users to disconnect PPP links.
We need a sudo for admin users to be able to kill the "pon" processes
that monitor individual "pppd" processes.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/disconnect/interface/node.tag/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/disconnect/interface/node.tag/node.def b/templates/disconnect/interface/node.tag/node.def index 85233ec..a3b3cf3 100644 --- a/templates/disconnect/interface/node.tag/node.def +++ b/templates/disconnect/interface/node.tag/node.def @@ -22,7 +22,7 @@ run: if [ -n "$PON_PIDS" ]; then echo "killing pon pids: $PON_PIDS" for PID in $PON_PIDS ; do - kill -HUP $PID + sudo kill -HUP $PID done fi fi |