From 2db6b3e9c556f1a62b2b4783bacbd1bad73b0027 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Sat, 14 Sep 2019 17:47:54 -0400 Subject: [PATCH] Modify Lokinet button functions. --- includes/functions.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index 78d3f72..82fa73b 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -604,13 +604,15 @@ function SaveTORAndVPNConfig() //START } elseif (isset($_POST['StartDaemon'])) { - ?> + /*?>
Launching Lokinet.
$output"; + $output = */ + shell_exec('sudo /var/lib/lokinet/lokilaunch.sh start'); + /* echo "
$output
"; + */ //STOP } elseif (isset($_POST['StopDaemon'])) {