/[smecontribs]/rpms/smeserver-durep/contribs9/smeserver-durep-1.5.0-dfposix.patch
ViewVC logotype

Annotation of /rpms/smeserver-durep/contribs9/smeserver-durep-1.5.0-dfposix.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sat Dec 28 19:10:45 2019 UTC (4 years, 11 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-durep-1_5_0-4_el6_sme, HEAD
* Sat Dec 28 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.5.0-4.sme
- output all mounted points with df on one line using Posix

1 jpp 1.1 diff -Nur smeserver-durep-1.5.0.old/root/etc/e-smith/web/panels/manager/html/durep/durep.cgi smeserver-durep-1.5.0/root/etc/e-smith/web/panels/manager/html/durep/durep.cgi
2     --- smeserver-durep-1.5.0.old/root/etc/e-smith/web/panels/manager/html/durep/durep.cgi 2014-06-21 06:27:27.000000000 -0400
3     +++ smeserver-durep-1.5.0/root/etc/e-smith/web/panels/manager/html/durep/durep.cgi 2019-12-28 14:08:45.293000000 -0500
4     @@ -171,7 +171,7 @@
5     <table class='list' cellpadding=0 cellspacing=0 border=0>
6     <tr><th>Filesystem</th><th>Sized</th><th>Used</th><th>Available</th><th>Use %</th><th>Mounted on</th></tr>
7     };
8     -my $dflist = `df -h|grep -v 'Use%'|sed 's#^#<tr><td>#g'|sed 's#\$#</td></tr>#g'`;
9     +my $dflist = `df -hP|grep -v 'Use%'|sed 's#^#<tr><td>#g'|sed 's#\$#</td></tr>#g'`;
10     $dflist =~ s/[ ]+/<\/td><td>/g;
11     print $dflist;
12    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed