From 1b6acf22ebb3d4774691f0fce83b26f98fe02bbb Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Fri, 26 Apr 2019 17:30:47 -0400 Subject: [PATCH] bootstrapping shuts down connection and daemon --- includes/functions.php | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index 73b4c99..db4337b 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -684,11 +684,26 @@ function SaveTORAndVPNConfig() $output = shell_exec('sudo /home/pi/loki-network/lokilaunch.sh gen'); echo "
$output
"; } elseif (isset($_POST['ApplyLokinetSettings'])) { - $bootstrap = $_POST['lokinetbootstrap']; ?> -
+ ?> +
+ Exiting Lokinet. +
+ $output"; + ?> +
+ Stopping Lokinet background daemon process. +
+ $output"; + $bootstrap = $_POST['lokinetbootstrap']; + ?> +
Applying Bootstrap -
- + $output";