card script: this is only set in one place

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent 673cadecac
commit eb3ab96dc8

@ -19,10 +19,16 @@
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE. # THE SOFTWARE.
#
# Latest can be found at:
# http://github.com/RobertCNelson/netinstall/blob/master/mk_mmc.sh
#REQUIREMENTS: #REQUIREMENTS:
#uEnv.txt bootscript support #uEnv.txt bootscript support
MIRROR="http://rcn-ee.net/deb"
BACKUP_MIRROR="http://rcn-ee.homeip.net:81/dl/mirrors/deb"
unset MMC unset MMC
unset FIRMWARE unset FIRMWARE
unset SERIAL_MODE unset SERIAL_MODE
@ -46,10 +52,6 @@ IN_VALID_UBOOT=1
#DI_BROKEN_USE_CROSS=1 #DI_BROKEN_USE_CROSS=1
unset DI_BROKEN_USE_CROSS unset DI_BROKEN_USE_CROSS
MIRROR="http://rcn-ee.net/deb"
BACKUP_MIRROR="http://rcn-ee.homeip.net:81/dl/mirrors/deb"
unset RCNEEDOWN
DIST=squeeze DIST=squeeze
ARCH=armel ARCH=armel
DISTARCH="${DIST}-${ARCH}" DISTARCH="${DIST}-${ARCH}"
@ -190,6 +192,7 @@ function dl_bootloader {
mkdir -p ${TEMPDIR}/dl/${DISTARCH} mkdir -p ${TEMPDIR}/dl/${DISTARCH}
mkdir -p "${DIR}/dl/${DISTARCH}" mkdir -p "${DIR}/dl/${DISTARCH}"
unset RCNEEDOWN
echo "attempting to use rcn-ee.net for dl files [10 second time out]..." echo "attempting to use rcn-ee.net for dl files [10 second time out]..."
wget -T 10 -t 1 --no-verbose --directory-prefix=${TEMPDIR}/dl/ ${MIRROR}/tools/latest/bootloader wget -T 10 -t 1 --no-verbose --directory-prefix=${TEMPDIR}/dl/ ${MIRROR}/tools/latest/bootloader

Loading…
Cancel
Save