diff --git a/includes/functions.php b/includes/functions.php index 43631a4..b65801e 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -599,11 +599,13 @@ function SaveTORAndVPNConfig(){ } elseif( isset($_POST['StartLokinet']) ) { exec( 'sudo /home/pi/loki-network/lokilaunch.sh "start" > /dev/null &', $return ); - ?> -
- Starting Lokinet -
- + //
+ // Starting Lokinet + //
+ // Lokinet is starting + '; } elseif( isset($_POST['StopLokinet']) ) { exec( 'sudo /home/pi/loki-network/lokilaunch.sh "stop" > /dev/null &', $return ); @@ -630,17 +632,5 @@ function SaveTORAndVPNConfig(){ Lokinet daemon is not running - '; -} else { - $status = '
Lokinet is running -
'; } -sleep (5); -echo $status; ?>