remove dns restarts

pull/16/head
necro-nemesis 7 years ago
parent f0e6c3846f
commit 215e45b886

@ -602,12 +602,12 @@ function SaveTORAndVPNConfig()
Starting Lokinet background daemon process.
</div>
<?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');
echo "<pre><strong>$output</strong></pre>";
sleep(10);
/* 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'])) {
?>
<div class="alert alert-danger">

Loading…
Cancel
Save