backupiso: disable on arm (we have no iso).

and fix syntax error.
This commit is contained in:
Arne Fitzenreiter
2013-02-15 19:15:11 +01:00
parent 2e8b71ca69
commit eb7fff99fc
2 changed files with 10 additions and 3 deletions

View File

@@ -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'>

View File

@@ -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