]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/cgi-bin/index.cgi
index.cgi: Add warning about reiserfs deprecation and removal if reiserfs used
[ipfire-2.x.git] / html / cgi-bin / index.cgi
index 5c384fd49238b3ea8782c9099e5f2f3840910bc8..c2c0962dcb1685aeb5e71536945d2df987820a90 100644 (file)
@@ -2,7 +2,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2014  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2023  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        #
@@ -615,6 +615,13 @@ if ( -e "/var/run/need_reboot" ) {
        print "</div>";
 }
 
+if ( `/bin/grep -c "reiserfs" /proc/self/mounts`  > 0 ) {
+        print "<div style='text-align:center; color:blue;'>";
+        print "<br/><br/>$Lang::tr{'reiserfs warning1'}";
+        print "<br/>$Lang::tr{'reiserfs warning2'}";
+        print "</div>";
+}
+
 &Header::closebigbox();
 &Header::closepage();