From 31cdd81442003a6e576d17a52499427a71c07651 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Mon, 1 Apr 2019 17:25:04 -0400 Subject: [PATCH] code cleanup --- includes/functions.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index bed0241..ba9a24d 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -612,23 +612,20 @@ function SaveTORAndVPNConfig(){ /dev/null &', $return); - echo "
$output
"; + exec( 'sudo /home/pi/loki-network/lokilaunch.sh "gen" > /dev/null &', $return); ?>
Generating Lokinet Configuration
/dev/null &', $return); ?>
- $output = shell_exec( 'sudo /home/pi/loki-network/lokilaunch.sh "gen"); - echo "
$output
"; Regenerating Lokinet Configuration
/dev/null &', $return); $bootstrap = $_POST['lokinetbootstrap']; ?>