From 64ff83e56e22f2d3466a9752c83886a94f203ca6 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Thu, 21 Mar 2019 01:33:42 -0400 Subject: [PATCH] sudo added back. Did not run without --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index d9498da..6973d27 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/lokilaunch.sh "start" > /dev/null &', $return ); + exec( 'sudo /home/pi/loki-network/lokilaunch.sh "start" > /dev/null &', $return ); } elseif( isset($_POST['StopLokinet']) ) { //echo "Attempting to stop Lokinet"; exec( 'sudo /home/pi/loki-network/lokilaunch.sh "stop" > /dev/null &', $return );