X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=blobdiff_plain;f=html%2Fcgi-bin%2Findex.cgi;h=01bb3d6850c13f25f5de12f6f8c94b348ed69353;hp=07dc9e7fb802a9d46dce2163efdc230e30eb8da5;hb=c78993cdde0391d1336797dd4368b41794a40487;hpb=df106d88e5a7eeafb9298b0febbe02e9a349728f diff --git a/html/cgi-bin/index.cgi b/html/cgi-bin/index.cgi index 07dc9e7fb..01bb3d685 100644 --- a/html/cgi-bin/index.cgi +++ b/html/cgi-bin/index.cgi @@ -2,7 +2,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2011 IPFire Team # +# Copyright (C) 2007-2012 IPFire Team # # # # 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 # @@ -356,7 +356,7 @@ END END my $id = 0; my $gif; - foreach my $key (keys %confighash) { + foreach my $key (sort { uc($confighash{$a}[1]) cmp uc($confighash{$b}[1]) } keys %confighash) { if ($confighash{$key}[0] eq 'on') { $gif = 'on.gif'; } else { $gif = 'off.gif'; } if ($id % 2) { @@ -489,6 +489,14 @@ foreach my $file (@files) { } } +# Reiser4 warning +my @files = `mount | grep " reiser4 (" 2>/dev/null`; +foreach my $disk (@files) { + chomp ($disk); + $warnmessage .= "
  • $disk - $Lang::tr{'deprecated fs warn'}
  • \n\n"; +} + + if ($warnmessage) { print "$warnmessage"; }