diff --git a/includes/functions.php b/includes/functions.php index fa73abd..e33950d 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -602,12 +602,13 @@ function SaveTORAndVPNConfig() Starting Lokinet background daemon process. /dev/null &'); */ $output = shell_exec('sudo /home/pi/loki-network/lokilaunch.sh start'); echo "
$output
"; - /* sleep(10); */ - /*$output = shell_exec('/etc/init.d/dnsmasq restart'); - echo "
$output
"; */ + $output = shell_exec('/etc/init.d/dnsmasq stop'); + echo "
$output
"; + sleep(5); + $output = shell_exec('/etc/init.d/dnsmasq restart'); + echo "
$output
"; } elseif (isset($_POST['StopLokinet'])) { ?>