X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/c94c88df806f3438933a2cee3f93065f34a242f6..38c6cb915b2555f515d407333f449ba5b8193c6d:/target/linux/brcm-2.4/base-files/default/sbin/mount_root?ds=sidebyside diff --git a/target/linux/brcm-2.4/base-files/default/sbin/mount_root b/target/linux/brcm-2.4/base-files/default/sbin/mount_root index 806547017..a9dd2764d 100755 --- a/target/linux/brcm-2.4/base-files/default/sbin/mount_root +++ b/target/linux/brcm-2.4/base-files/default/sbin/mount_root @@ -19,7 +19,7 @@ if [ "$1" != "failsafe" ]; then is_dirty [ $? != 0 ] && { echo "switching to jffs2" - mount $(find_mtd_part OpenWrt) /jffs -t jffs2 + mount $(find_mtd_part rootfs_data) /jffs -t jffs2 fopivot /jffs /rom } || { echo "jffs2 not ready yet; using ramdisk" @@ -27,7 +27,3 @@ if [ "$1" != "failsafe" ]; then } fi fi - -mkdir -p /dev/pts -mount none /dev/pts -t devpts 2>&- -grep sysfs /proc/filesystems >/dev/null && mount -t sysfs none /sys 2>&-