From a58d585f9c247f054265f04f38185c85ed70150c Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Sun, 17 Mar 2019 12:54:55 -0400 Subject: [PATCH] remove rabbit hole --- includes/dashboard.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/includes/dashboard.php b/includes/dashboard.php index 2ff5158..3d27d59 100755 --- a/includes/dashboard.php +++ b/includes/dashboard.php @@ -174,16 +174,6 @@ function DisplayDashboard(){ } else { $status->addMessage(sprintf(_('Interface is %s.'), strtolower($interfaceState)), $classMsgDevicestatus); } - function currnetLokiState(){ - exec( 'pidof lokinet | wc -l', $lokinetstatus); - - if( $lokinetstatus[0] == 0 ) { - $status = '
Lokinet daemon is not running -
'; - } else { - $status = '
Lokinet is running -
'; - } ?>
@@ -255,7 +245,7 @@ function DisplayDashboard(){