From 574f6303968a6f8b1dba7190c44eb42dad48fb7b Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Tue, 5 Jan 2016 14:26:19 +0100 Subject: [PATCH 1/1] correct fe306 flash script --- master/opt/script/flash_fe306 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 -- 2.30.2