2
0
forked from Ivasoft/openwrt

broadcom: rename the OpenWrt partition to rootfs_data

SVN-Revision: 7171
This commit is contained in:
Felix Fietkau
2007-05-10 12:38:31 +00:00
parent 5eb30e636d
commit bd65c8b91a
4 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
# $Id$
. /etc/functions.sh
partname="OpenWrt"
partname="rootfs_data"
mtdpart="$(find_mtd_part $partname)"
rom=$(awk '/squashfs/ {print $2}' /proc/mounts)

View File

@@ -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"