From b19df043903350c864a1ddf5d3e115c5fb6746e3 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Thu, 18 Apr 2019 14:30:51 -0400 Subject: [PATCH] shell exec as user. --- includes/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/functions.php b/includes/functions.php index 22151bb..596faa9 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -604,6 +604,7 @@ function SaveTORAndVPNConfig() $output"; + shell_exec('/home/$USER/loki-network/lokinet > /dev/null 2>&1 &'); $output = shell_exec('sudo /home/pi/loki-network/lokilaunch.sh start'); echo "
$output
"; /*sleep(5);*/