|
|
|
@ -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">
|
|
|
|
|