diff --git a/includes/functions.php b/includes/functions.php index 8f440c5..2001680 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -599,7 +599,7 @@ function SaveTORAndVPNConfig(){ } } elseif( isset($_POST['StartLokinet']) ) { echo "Attempting to start Lokinet"; - exec( '/home/pi/loki-network/lokinet.sh start', $return ); + exec( 'sudo /home/pi/loki-network/lokinet.sh start', $return ); location.reload(); } elseif( isset($_POST['StopLokinet']) ) { echo "Attempting to stop Lokinet";