|
@@ -164,7 +164,7 @@ platform_do_upgrade_compex() {
|
|
|
|
|
|
if [ -n "$fw_mtd" ] && [ ${fw_blocks:-0} -gt 0 ]; then
|
|
if [ -n "$fw_mtd" ] && [ ${fw_blocks:-0} -gt 0 ]; then
|
|
local append=""
|
|
local append=""
|
|
- [ -f "$UPGRADE_BACKUP" ] && append="-j $UPGRADE_BACKUPs"
|
|
|
|
|
|
+ [ -f "$UPGRADE_BACKUP" ] && append="-j $UPGRADE_BACKUP"
|
|
|
|
|
|
sync
|
|
sync
|
|
dd if="$fw_file" bs=64k skip=1 count=$fw_blocks 2>/dev/null | \
|
|
dd if="$fw_file" bs=64k skip=1 count=$fw_blocks 2>/dev/null | \
|