index.cgi: Show deprecation warning for armv6l
Commit Message
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
html/cgi-bin/index.cgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
> ---
> html/cgi-bin/index.cgi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/html/cgi-bin/index.cgi b/html/cgi-bin/index.cgi
> index 6fecae1ff..5c384fd49 100644
> --- a/html/cgi-bin/index.cgi
> +++ b/html/cgi-bin/index.cgi
> @@ -543,7 +543,7 @@ if ( ! -e "/var/ipfire/main/send_profile") {
>
> # EOL architecture
> my ($sysname, $nodename, $release, $version, $machine) = &POSIX::uname();
> -if ($machine =~ m/^i.86$/) {
> +if ($machine =~ m/^arm/) {
> $warnmessage .= "<li><a href='https://wiki.ipfire.org/hardware/requirements' style='color:white;'>$Lang::tr{'eol architecture warning'}</a></li>";
> }
>
@@ -543,7 +543,7 @@ if ( ! -e "/var/ipfire/main/send_profile") {
# EOL architecture
my ($sysname, $nodename, $release, $version, $machine) = &POSIX::uname();
-if ($machine =~ m/^i.86$/) {
+if ($machine =~ m/^arm/) {
$warnmessage .= "<li><a href='https://wiki.ipfire.org/hardware/requirements' style='color:white;'>$Lang::tr{'eol architecture warning'}</a></li>";
}