|
|
|
@ -609,13 +609,13 @@ function SaveTORAndVPNConfig()
|
|
|
|
|
echo htmlspecialchars($line, ENT_QUOTES).'<br />' , PHP_EOL;
|
|
|
|
|
}
|
|
|
|
|
} elseif (isset($_POST['StartLokinet'])) {
|
|
|
|
|
$output = shell_exec('sudo /home/pi/loki-network/lokilaunch.sh "start" > /dev/null &');
|
|
|
|
|
echo "<pre><strong>$output</strong></pre>";
|
|
|
|
|
?>
|
|
|
|
|
<div class="alert alert-success">
|
|
|
|
|
Starting Lokinet background daemon process.
|
|
|
|
|
</div>
|
|
|
|
|
<?php
|
|
|
|
|
?>
|
|
|
|
|
<div class="alert alert-success">
|
|
|
|
|
Starting Lokinet background daemon process.
|
|
|
|
|
</div>
|
|
|
|
|
<?php
|
|
|
|
|
$output = shell_exec('sudo /home/pi/loki-network/lokilaunch.sh start');
|
|
|
|
|
echo "<pre><strong>$output</strong></pre>";
|
|
|
|
|
} elseif (isset($_POST['StopLokinet'])) {
|
|
|
|
|
exec('sudo /home/pi/loki-network/lokilaunch.sh "stop" > /dev/null &', $return); ?>
|
|
|
|
|
<div class="alert alert-danger">
|
|
|
|
|