X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=package%2Fbase-files%2Ffiles%2Fbin%2Ffirstboot;fp=package%2Fbase-files%2Ffiles%2Fbin%2Ffirstboot;h=267e6732d96a716508d620d14fdce89e9b79558d;hb=de0bb1d6c480b2945cf25f80116d963b22dd3c7a;hp=ef2ba5733bb4da6217d97d1a1658104e291e900f;hpb=c5eea72dc54a79a3375fa7e9cf560ba757e01147;p=openwrt.git diff --git a/package/base-files/files/bin/firstboot b/package/base-files/files/bin/firstboot index ef2ba5733b..267e6732d9 100755 --- a/package/base-files/files/bin/firstboot +++ b/package/base-files/files/bin/firstboot @@ -79,8 +79,6 @@ ramoverlay() { } [ "$1" = "switch2jffs" ] && { - mtd erase "$partname" - # try to avoid fs changing while copying mount -o remount,ro none / 2>&- @@ -103,8 +101,6 @@ ramoverlay() { # this will almost always fail umount /tmp/root 2>&- - # fs is clean - jffs2root --clean exit 0 }