From 4f0f0a9d2a62ccdad8230fa0405f31b08b4123a8 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 7 Aug 2024 15:31:11 +0200 Subject: [PATCH] services.cgi: Remove showing the PIDs for add-on services This was only showing one PID and I don't see any reason why anyone would need this. Signed-off-by: Michael Tremer --- html/cgi-bin/services.cgi | 4 ---- 1 file changed, 4 deletions(-) diff --git a/html/cgi-bin/services.cgi b/html/cgi-bin/services.cgi index 91cdd3958d..4b929c7164 100644 --- a/html/cgi-bin/services.cgi +++ b/html/cgi-bin/services.cgi @@ -141,7 +141,6 @@ $querry[1] = 'hour' unless defined $querry[1]; Boot $Lang::tr{'action'} $Lang::tr{'status'} - PID $Lang::tr{'memory'} END @@ -210,10 +209,8 @@ sub isrunningaddon (@) { my ($pak, $service) = @_; my $status = "$Lang::tr{'stopped'}"; - my $pid = ''; my $testcmd = ''; my $exename; - my @memory; my @testcmd = &General::system_output("/usr/local/bin/addonctrl", "$pak", "status", "$service"); my $testcmd = @testcmd[0]; @@ -230,7 +227,6 @@ sub isrunningaddon (@) { $testcmd =~ s///gi; my @pid = split(/\s/,$testcmd); - $status .="$pid[0]"; # Fetch the memory consumption my $memory = &General::get_memory_consumption(@pid); -- 2.47.3