X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=master%2Fopt%2Fscript%2Fflash_fe306;h=c95aa2da9af134358fa7718116332e59a28de607;hb=1c44adb83e30840e48651bfb294749919b77fe9d;hp=423b6d4b9be1e0a01ba8247259852ab233e60ad9;hpb=757c2d98b5969ec1b1bebab0cdf552b6c5698ad3;p=debian6500.git 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