]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
backup.cgi: allow iso backup only on x86_64
authorArne Fitzenreiter <arne_f@ipfire.org>
Tue, 11 Feb 2025 07:49:51 +0000 (08:49 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 11 Feb 2025 07:49:51 +0000 (08:49 +0100)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/core/192/filelists/files
html/cgi-bin/backup.cgi

index 0b0f9711898f491973c1b9beb600b669480eaab2..9dd6b8696b5eeb87642f7f1efd5dda3200cada3e 100644 (file)
@@ -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
index 3888ccbff92e463d0041c9d3e3d8d8edd448e548..930686e64759135fb688db7a64bda0b9df845cb6 100644 (file)
@@ -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