tweaks for 2M devices
[openwrt/svn-archive/archive.git] / package / base-files / files / sbin / mount_root
index 1aa7db7255bbbea4129490c18056c454ddc94cdf..2006f0128e86d4aa4e8c133df3637dbedc7f4ef6 100755 (executable)
@@ -47,7 +47,7 @@ jffs2_ready () {
                        . /bin/firstboot
                        jffs2_ready && {
                                echo "switching to jffs2"
-                               mount "$(find_mtd_part rootfs_data)" /jffs -t jffs2
+                               mount "$(find_mtd_part rootfs_data)" /jffs -t jffs2 && \
                                fopivot /jffs /rom
                        } || {
                                echo "jffs2 not ready yet; using ramdisk"