From e63eb94e6267627626bf86e7944fd699180ee09b Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Mon, 18 Mar 2019 22:42:45 -0400 Subject: [PATCH] attempt sudo shell --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";