From 77aac040e6bff2ac9664e177a2b11935cdd2dcb4 Mon Sep 17 00:00:00 2001 From: glen Date: Sat, 3 Oct 2020 23:47:07 -0400 Subject: [PATCH] Replace alerts with messages. --- includes/functions.php | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index e6bf049..ccddf90 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -346,13 +346,7 @@ function DisplayLokinetConfig() exec('pidof lokinet | wc -l', $lokinetstatus); $rulestate = exec("ip rule show default | grep lokinet | awk {'print $5'}", $output); $lokiversion = exec("dpkg -s lokinet | grep '^Version:'", $output); - if ($lokinetstatus[0] == 0) { - $status = '
Lokinet daemon is not running -
'; - } else { - $status = '
Lokinet daemon is running -
'; - } ?> + ?>
@@ -663,14 +657,6 @@ function SaveTORAndVPNConfig() //APPLY LOKINET-BOOTSTRAP } elseif (isset($_POST['ApplyLokinetSettings'])) { - ?> -
- Stopping Lokinet background daemon process. -
-
- Applying Bootstrap -
-