diff --git a/packages/sysutils/busybox/scripts/init b/packages/sysutils/busybox/scripts/init index 57181c1804..75836220d6 100755 --- a/packages/sysutils/busybox/scripts/init +++ b/packages/sysutils/busybox/scripts/init @@ -313,6 +313,7 @@ update_file() { if [ -f "$UPDATE_DIR/$2" -a -f "$3" ]; then mount -o remount,rw /flash + rm -f "$3" StartProgress percent "Updating $1... " "$3" $(stat -t "$UPDATE_DIR/$2" | awk '{print $2}') # use dd here with conv=fsync so that all writes are non-buffered # ensuring accurate progress - take the sync hit during the