]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/cgi-bin/media.cgi
suricata: Change midstream policy to "pass-flow"
[ipfire-2.x.git] / html / cgi-bin / media.cgi
index cc8f84d0a0932586e65a29d6b3e336911683de43..c1914f46946ef4d5a2f984b3ae6baeec5b02ec56 100644 (file)
@@ -2,7 +2,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2013  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2022  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -96,7 +96,7 @@ END
        }
 }
 close DF;
-print "<tr><td colspan='7'>&nbsp;\n<tr><td colspan='7'><h3>Inodes</h3>\n";
+print "<tr><td colspan='7'>&nbsp;\n<tr><td colspan='7'><h3>$Lang::tr{'inodes'}</h3>\n";
 
 open(DF,'/bin/df -P -i -x rootfs|');
 while(<DF>){
@@ -135,9 +135,9 @@ END
 }
 close DF;
 my @iostat1 = qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print \$1}');
-my @iostat2 = qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print \$5}');
-my @iostat3 = qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print \$6}');
-print "<tr><td colspan='3'>&nbsp;\n<tr><td colspan='3'><h3>transfers</h3></td></tr>";
+my @iostat2 = qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print \$6}');
+my @iostat3 = qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print \$7}');
+print "<tr><td colspan='3'>&nbsp;\n<tr><td colspan='3'><h3>$Lang::tr{'transfers'}</h3></td></tr>";
 my $i=0;
 
 for(my $i = 1; $i <= $#iostat1; $i++){