From dc893a30526522a1d4e4bdb7335e29ab2cf0c649 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Mon, 18 Mar 2019 22:20:47 -0400 Subject: [PATCH] functions changed --- includes/functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index 3e45c95..e8c4101 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( 'sudo /home/pi/loki-network/lokinet', $return ); + exec( '/home/pi/loki-network/lokinet', $return ); location.reload(); } elseif( isset($_POST['StopLokinet']) ) { echo "Attempting to stop Lokinet"; @@ -607,11 +607,11 @@ function SaveTORAndVPNConfig(){ location.reload(); } elseif( isset($_POST['GenerateLokinet']) ) { echo "Attempting to generate Lokinet"; - exec( 'sudo lokinet -g', $return ); + exec( '/home/pi/loki-network/lokinet -g', $return ); location.reload(); } elseif( isset($_POST['ReGenerateLokinet']) ) { echo "Attempting to regenerate Lokinet"; - exec( 'sudo lokinet -g', $return ); + exec( '/home/pi/loki-network/lokinet -g', $return ); location.reload(); } }