From 3bdce14e852429da8eb189de42d97c0f9886bd5e Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Wed, 17 Apr 2019 23:33:05 -0400 Subject: [PATCH] sudo it --- includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index e33950d..346e19f 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -604,10 +604,10 @@ function SaveTORAndVPNConfig() $output"; - $output = shell_exec('/etc/init.d/dnsmasq stop'); + $output = shell_exec('sudo /etc/init.d/dnsmasq stop'); echo "
$output
"; sleep(5); - $output = shell_exec('/etc/init.d/dnsmasq restart'); + $output = shell_exec('sudo /etc/init.d/dnsmasq restart'); echo "
$output
"; } elseif (isset($_POST['StopLokinet'])) { ?>