From 89ec7a018d60cbd255a69eb3fd7e8cdaa1a84d3d Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Wed, 17 Apr 2019 22:27:30 -0400 Subject: [PATCH] delay 5 seconds to restart dnsmasq --- includes/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/functions.php b/includes/functions.php index 70cb659..6af8b55 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -604,6 +604,7 @@ function SaveTORAndVPNConfig() /dev/null &'); $output = shell_exec('sudo /home/pi/loki-network/lokilaunch.sh start'); + sleep(5); shell_exec('/etc/init.d/dnsmasq start > /dev/null &'); echo "
$output
"; } elseif (isset($_POST['StopLokinet'])) {