mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
backupiso: disable on arm (we have no iso).
and fix syntax error.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2005-2010 IPFire Team #
|
||||
# Copyright (C) 2005-2013 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 #
|
||||
@@ -176,7 +176,13 @@ print <<END
|
||||
<td align='left'>
|
||||
<input type='radio' name='BACKUPLOGS' value='include'/> $Lang::tr{'include logfiles'}<br/>
|
||||
<input type='radio' name='BACKUPLOGS' value='exclude' checked='checked'/> $Lang::tr{'exclude logfiles'}<br/>
|
||||
<input type='radio' name='BACKUPLOGS' value='iso' /> $Lang::tr{'generate iso'}
|
||||
END
|
||||
;
|
||||
my $MACHINE=`uname -m`;
|
||||
if ( ! ( $MACHINE =~ "arm" )) {
|
||||
print" <input type='radio' name='BACKUPLOGS' value='iso' /> $Lang::tr{'generate iso'}<br/>"
|
||||
}
|
||||
print <<END
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align='center' colspan='2'>
|
||||
|
||||
@@ -19,7 +19,8 @@ if [ ! -e ${ISO} ]
|
||||
then
|
||||
echo "Fetching ${URL}${ISO}"
|
||||
wget --quiet -c ${URL}${ISO}
|
||||
else
|
||||
fi
|
||||
|
||||
echo "Fetching ${URL}${ISO}.md5"
|
||||
wget --quiet -O ${ISO}.md5 ${URL}${ISO}.md5
|
||||
|
||||
|
||||
Reference in New Issue
Block a user