From 6c06658212a0bd9c3977b069dd81d9ca31e4cf7f Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Wed, 20 Mar 2019 00:28:54 -0400 Subject: [PATCH] location reload --- includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index 65306bc..bd916ec 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -600,10 +600,10 @@ function SaveTORAndVPNConfig(){ } elseif( isset($_POST['StartLokinet']) ) { echo "Attempting to start Lokinet"; exec( 'sudo /home/pi/loki-network/lokinet > /dev/null &' ); -// location.reload(); + location.reload(); } elseif( isset($_POST['StopLokinet']) ) { echo "Attempting to stop Lokinet"; - exec( 'sudo systemctl lokinet stop > /dev/null $' ); + exec( 'sudo systemctl stop lokinet > /dev/null $' ); // location.reload(); } elseif( isset($_POST['GenerateLokinet']) ) { echo "Attempting to generate Lokinet";