mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 10:52:57 +02:00
index.cgi: Add warning about reiserfs deprecation and removal if reiserfs used
- Reiserfs was stopped in IPFire in Core Update 167. It has been announced that reiserfs will be removed from the kernel in 2025. - This patch gives a warning about this deprecation and removal if reiserfs is used. The warning also requests that the user does a re-installation using either ext4 or xfs filesystems. - Tested out on a vm installation with reiserfs, ext4 and xfs. Messgae shown on system with reiserfs filesystem but nopt on the other two. - Warning message added into the English language file and ./make.sh lang run. Tested-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
5cfccb2c8c
commit
9149276b65
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user