This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, master has been updated
via 9ad59410624beaccef5c75bcca4e1d4ddb0be98b (commit)
from a19e6bce428394ff596599b943a6bdf13f4e81f4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9ad59410624beaccef5c75bcca4e1d4ddb0be98b
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date: Tue Feb 11 08:49:51 2025 +0100
backup.cgi: allow iso backup only on x86_64
Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>
-----------------------------------------------------------------------
Summary of changes:
config/rootfiles/core/192/filelists/files | 1 +
html/cgi-bin/backup.cgi | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
Difference in files:
diff --git a/config/rootfiles/core/192/filelists/files b/config/rootfiles/core/192/filelists/files
index 0b0f97118..9dd6b8696 100644
--- a/config/rootfiles/core/192/filelists/files
+++ b/config/rootfiles/core/192/filelists/files
@@ -1,4 +1,5 @@
etc/unbound/root.hints
+srv/web/ipfire/cgi-bin/backup.cgi
srv/web/ipfire/cgi-bin/captive/logo.cgi
srv/web/ipfire/cgi-bin/captive.cgi
srv/web/ipfire/cgi-bin/system.cgi
diff --git a/html/cgi-bin/backup.cgi b/html/cgi-bin/backup.cgi
index 3888ccbff..930686e64 100644
--- a/html/cgi-bin/backup.cgi
+++ b/html/cgi-bin/backup.cgi
@@ -170,7 +170,7 @@ print <<END
END
;
my $MACHINE=`uname -m`;
-if ( ! ( $MACHINE =~ "arm" )) {
+if (( $MACHINE =~ "x86_64" )) {
print" <input type='radio' name='BACKUPLOGS' value='iso' /> $Lang::tr{'generate iso'}<br/>"
}
print <<END
hooks/post-receive
--
IPFire 2.x development tree