summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm-2.4/base-files/default/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm-2.4/base-files/default/sbin')
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/default/sbin/mount_root2
1 files changed, 1 insertions, 1 deletions
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 3ed1b5861..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"