return status

pull/12/head
necro-nemesis 6 years ago
parent 3a6d382114
commit 1e9fc835b7

@ -601,7 +601,7 @@ function SaveTORAndVPNConfig(){
echo "Attempting to start Lokinet";
exec( 'sudo /home/pi/loki-network/lokicontrol.sh > /dev/null &' );
/* exec( 'pidof lokinet | wc -l', $lokinetstatus);
exec( 'pidof lokinet | wc -l', $lokinetstatus);
if( $lokinetstatus[0] == 0 ) {
$status = '<div class="alert alert-warning alert-dismissable">Lokinet daemon is not running
@ -617,7 +617,6 @@ function SaveTORAndVPNConfig(){
$arrConfig[$arrLine[0]]=$arrLine[1];
}
}
*/
} elseif( isset($_POST['StopLokinet']) ) {
echo "Attempting to stop Lokinet";

Loading…
Cancel
Save