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'])) { ?>