From f0e6c3846f69672b8073df3214262e48d81136bd Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Wed, 17 Apr 2019 22:42:32 -0400 Subject: [PATCH] start 10 delay w message --- includes/functions.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index 333d991..43e5f29 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -604,8 +604,9 @@ function SaveTORAndVPNConfig() /dev/null &'); $output = shell_exec('sudo /home/pi/loki-network/lokilaunch.sh start'); - sleep(30); - shell_exec('/etc/init.d/dnsmasq start > /dev/null &'); + echo "
$output
"; + sleep(10); + $output = shell_exec('/etc/init.d/dnsmasq start'); echo "
$output
"; } elseif (isset($_POST['StopLokinet'])) { ?>