Inform users about the eol of i?86

The warning point to a wiki page which is currently in construction.
This should give us the opportunity to add further information for
these users even if we do not provide updates anymore.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Jonatan Schlag
2021-11-28 16:43:52 +01:00
committed by Arne Fitzenreiter
parent ef972dcf7a
commit b55e2b8a35
3 changed files with 4 additions and 2 deletions

View File

@@ -541,10 +541,10 @@ if ( ! -e "/var/ipfire/main/send_profile") {
$warnmessage .= "<li><a style='color: white;' href='fireinfo.cgi'>$Lang::tr{'fireinfo please enable'}</a></li>";
}
# Legacy architecture
# EOL architecture
my ($sysname, $nodename, $release, $version, $machine) = &POSIX::uname();
if ($machine =~ m/^i.86$/) {
$warnmessage .= "<li>$Lang::tr{'legacy architecture warning'}</li>";
$warnmessage .= "<li href='https://wiki.ipfire.org/hardware/requirements'>$Lang::tr{'eol architecture warning'}</li>";
}
# Memory usage warning