This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, master has been updated
via 7fb1b9f680b91b0f3446172c07de7c4e9c106001 (commit)
from 0ccf2cc4170c0072b88246938d793b624ac71c4e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7fb1b9f680b91b0f3446172c07de7c4e9c106001
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date: Thu Feb 10 19:49:23 2011 +0100
Fix addon service pid/memory display if the addon name has numbers.
-----------------------------------------------------------------------
Summary of changes:
config/rootfiles/core/47/filelists/files | 1 +
html/cgi-bin/services.cgi | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
Difference in files:
diff --git a/config/rootfiles/core/47/filelists/files b/config/rootfiles/core/47/filelists/files
index 0037af1..1df41d9 100644
--- a/config/rootfiles/core/47/filelists/files
+++ b/config/rootfiles/core/47/filelists/files
@@ -1 +1,2 @@
etc/system-release
+srv/web/ipfire/cgi-bin/services.cgi
diff --git a/html/cgi-bin/services.cgi b/html/cgi-bin/services.cgi
index 424ca86..b6efe09 100644
--- a/html/cgi-bin/services.cgi
+++ b/html/cgi-bin/services.cgi
@@ -279,6 +279,7 @@ sub isrunningaddon{
if ( $testcmd =~ /is\ running/ && $testcmd !~ /is\ not\ running/){
$status = "<td align='center' bgcolor='${Header::colourgreen}'><font color='white'><b>$Lang::tr{'running'}</b></font></td>";
+ $testcmd =~ s/.* //gi;
$testcmd =~ s/[a-z_]//gi;
$testcmd =~ s/\[[0-1]\;[0-9]+//gi;
$testcmd =~ s/[\(\)\.]//gi;
hooks/post-receive
--
IPFire 2.x development tree