From: Laurent Mazet Date: Tue, 5 Jan 2016 13:26:19 +0000 (+0100) Subject: correct fe306 flash script X-Git-Tag: debian_7.8.10~13 X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=574f6303968a6f8b1dba7190c44eb42dad48fb7b;hp=543d98ad36d77555bf33bb292361c51b12c3ed0d;p=debian6500.git correct fe306 flash script --- diff --git a/master/opt/script/flash_fe306 b/master/opt/script/flash_fe306 index 423b6d4..c95aa2d 100755 --- a/master/opt/script/flash_fe306 +++ b/master/opt/script/flash_fe306 @@ -61,11 +61,6 @@ for f in $LIST; do [ -f $FIRMWARE/$f ] || { fail "Can't find '$FIRMWARE/$f'"; exit 1; } done -# check mode - -protect="" -[ "$DRY" = yes ] && protect="!echo" - # flash firmware title "flash fe306 '$HOST'" @@ -76,7 +71,8 @@ quote USER none quote PASS none binary cd flash -$(for f in $LIST; do echo "$protect send $FIRMWARE/$f"; done) +lcd $FIRMWARE +$(for f in $LIST; do echo "!echo send $f"; [ "$DRY" = yes ] || echo "send $f"; done) bye EOF