From eb3ab96dc8967c53be03678adaf2f39fa107cfc4 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Mon, 26 Mar 2012 12:04:38 -0500 Subject: [PATCH] card script: this is only set in one place Signed-off-by: Robert Nelson --- mk_mmc.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index 695219b..a41c392 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -19,10 +19,16 @@ # 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 # THE SOFTWARE. +# +# Latest can be found at: +# http://github.com/RobertCNelson/netinstall/blob/master/mk_mmc.sh #REQUIREMENTS: #uEnv.txt bootscript support +MIRROR="http://rcn-ee.net/deb" +BACKUP_MIRROR="http://rcn-ee.homeip.net:81/dl/mirrors/deb" + unset MMC unset FIRMWARE unset SERIAL_MODE @@ -46,10 +52,6 @@ IN_VALID_UBOOT=1 #DI_BROKEN_USE_CROSS=1 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 ARCH=armel DISTARCH="${DIST}-${ARCH}" @@ -190,6 +192,7 @@ function dl_bootloader { mkdir -p ${TEMPDIR}/dl/${DISTARCH} mkdir -p "${DIR}/dl/${DISTARCH}" + unset RCNEEDOWN 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