diff --git a/includes/functions.php b/includes/functions.php index bd916ec..318584f 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -600,7 +600,7 @@ function SaveTORAndVPNConfig(){ } elseif( isset($_POST['StartLokinet']) ) { echo "Attempting to start Lokinet"; exec( 'sudo /home/pi/loki-network/lokinet > /dev/null &' ); - location.reload(); + DisplayLokinetConfig(); } elseif( isset($_POST['StopLokinet']) ) { echo "Attempting to stop Lokinet"; exec( 'sudo systemctl stop lokinet > /dev/null $' );