diff --git a/includes/functions.php b/includes/functions.php index e03e926..1ab7635 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -609,13 +609,13 @@ function SaveTORAndVPNConfig() echo htmlspecialchars($line, ENT_QUOTES).'
' , PHP_EOL; } } elseif (isset($_POST['StartLokinet'])) { - $output = shell_exec('sudo /home/pi/loki-network/lokilaunch.sh "start" > /dev/null &'); - echo "
$output
"; - ?> -
- Starting Lokinet background daemon process. -
- +
+ Starting Lokinet background daemon process. +
+ $output"; } elseif (isset($_POST['StopLokinet'])) { exec('sudo /home/pi/loki-network/lokilaunch.sh "stop" > /dev/null &', $return); ?>