From f9d661f8b251323d589218613899b7ed7a1456d6 Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Sun, 21 Nov 2010 02:46:51 -0800 Subject: 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. --- templates/disconnect/interface/node.tag/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/disconnect') 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 -- cgit v1.2.3