Revision: 7485 http://sourceforge.net/p/ipcop/svn/7485 Author: owes Date: 2014-04-17 20:30:54 +0000 (Thu, 17 Apr 2014) Log Message: ----------- Better to use last part from path/exename when scanning for exename in proc stat.
Modified Paths: -------------- ipcop/trunk/src/libs/general-functions.pl ipcop/trunk/updates/2.1.5/ROOTFILES.i486-2.1.5 Modified: ipcop/trunk/src/libs/general-functions.pl =================================================================== --- ipcop/trunk/src/libs/general-functions.pl 2014-04-16 05:51:13 UTC (rev 7484) +++ ipcop/trunk/src/libs/general-functions.pl 2014-04-17 20:30:54 UTC (rev 7485) @@ -1051,7 +1051,7 @@ $showsize = 0 if (defined($_[1])); $status = "<td> </td>".$status if ($showsize); - $cmd =~ /(^[a-z]+)/; + $cmd =~ /([a-z]+$)/; $exename = $1; if ($exename eq 'squidguard') { Modified: ipcop/trunk/updates/2.1.5/ROOTFILES.i486-2.1.5 =================================================================== --- ipcop/trunk/updates/2.1.5/ROOTFILES.i486-2.1.5 2014-04-16 05:51:13 UTC (rev 7484) +++ ipcop/trunk/updates/2.1.5/ROOTFILES.i486-2.1.5 2014-04-17 20:30:54 UTC (rev 7485) @@ -8,6 +8,7 @@ /home/httpd/cgi-bin/updates.cgi /home/httpd/cgi-bin/upload.cgi /home/httpd/cgi-bin/urlfilter.cgi +/usr/lib/ipcop/general-functions.pl /usr/local/bin/makegraphs.pl /usr/local/bin/upgrade.sh /usr/local/sbin/setup This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn