|
|
@ -604,6 +604,7 @@ 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(5);
|
|
|
|
shell_exec('/etc/init.d/dnsmasq start > /dev/null &');
|
|
|
|
shell_exec('/etc/init.d/dnsmasq start > /dev/null &');
|
|
|
|
echo "<pre><strong>$output</strong></pre>";
|
|
|
|
echo "<pre><strong>$output</strong></pre>";
|
|
|
|
} elseif (isset($_POST['StopLokinet'])) {
|
|
|
|
} elseif (isset($_POST['StopLokinet'])) {
|
|
|
|