start 10 delay w message

pull/16/head
necro-nemesis 7 years ago
parent 2c49e7c259
commit f0e6c3846f

@ -604,8 +604,9 @@ function SaveTORAndVPNConfig()
<?php <?php
shell_exec('/etc/init.d/dnsmasq stop > /dev/null &'); shell_exec('/etc/init.d/dnsmasq stop > /dev/null &');
$output = shell_exec('sudo /home/pi/loki-network/lokilaunch.sh start'); $output = shell_exec('sudo /home/pi/loki-network/lokilaunch.sh start');
sleep(30); echo "<pre><strong>$output</strong></pre>";
shell_exec('/etc/init.d/dnsmasq start > /dev/null &'); sleep(10);
$output = shell_exec('/etc/init.d/dnsmasq start');
echo "<pre><strong>$output</strong></pre>"; echo "<pre><strong>$output</strong></pre>";
} elseif (isset($_POST['StopLokinet'])) { } elseif (isset($_POST['StopLokinet'])) {
?> ?>

Loading…
Cancel
Save