|
|
@ -616,14 +616,12 @@ function SaveTORAndVPNConfig()
|
|
|
|
Starting Lokinet background daemon process.
|
|
|
|
Starting Lokinet background daemon process.
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
$output = shell_exec('sudo /etc/init.d/dnsmasq stop');
|
|
|
|
/*$output = shell_exec('sudo /etc/init.d/dnsmasq stop');
|
|
|
|
echo "<pre><strong>$output</strong></pre>";
|
|
|
|
echo "<pre><strong>$output</strong></pre>";*/
|
|
|
|
$output = shell_exec('sudo /home/pi/loki-network/lokilaunch.sh start');
|
|
|
|
$output = shell_exec('sudo /home/pi/loki-network/lokilaunch.sh start');
|
|
|
|
echo "<pre><strong>$output</strong></pre>";
|
|
|
|
echo "<pre><strong>$output</strong></pre>";
|
|
|
|
$output = shell_exec('sudo /etc/init.d/dnsmasq start');
|
|
|
|
/*$output = shell_exec('sudo /etc/init.d/dnsmasq start');
|
|
|
|
# sleep(5);
|
|
|
|
echo "<pre><strong>$output</strong></pre>";*/
|
|
|
|
# $output = shell_exec('sudo dnsmasq --interface=wlan0 --bind-interfaces --dhcp-range=10.3.141.0,10.3.141.24,12h --conf-file=/etc/resolv.conf');
|
|
|
|
|
|
|
|
echo "<pre><strong>$output</strong></pre>";
|
|
|
|
|
|
|
|
} elseif (isset($_POST['StopDaemon'])) {
|
|
|
|
} elseif (isset($_POST['StopDaemon'])) {
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
<div class="alert alert-danger">
|
|
|
|
<div class="alert alert-danger">
|
|
|
|