diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-05-10 12:38:31 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-05-10 12:38:31 +0000 |
commit | bd65c8b91af0397ae3f44cf672734c1f3bcb6fe5 (patch) | |
tree | bedcca0eca2d484427864ed71fcf84ed0541ca8f /target/linux/brcm-2.4/base-files | |
parent | 5eb30e636dbd655e9f7865c5aa59c9d1bcb866f9 (diff) | |
download | upstream-bd65c8b91af0397ae3f44cf672734c1f3bcb6fe5.tar.gz upstream-bd65c8b91af0397ae3f44cf672734c1f3bcb6fe5.tar.bz2 upstream-bd65c8b91af0397ae3f44cf672734c1f3bcb6fe5.zip |
broadcom: rename the OpenWrt partition to rootfs_data
SVN-Revision: 7171
Diffstat (limited to 'target/linux/brcm-2.4/base-files')
-rwxr-xr-x | target/linux/brcm-2.4/base-files/default/bin/firstboot | 2 | ||||
-rwxr-xr-x | target/linux/brcm-2.4/base-files/default/sbin/mount_root | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm-2.4/base-files/default/bin/firstboot b/target/linux/brcm-2.4/base-files/default/bin/firstboot index c3d9a64b87..5d374371c0 100755 --- a/target/linux/brcm-2.4/base-files/default/bin/firstboot +++ b/target/linux/brcm-2.4/base-files/default/bin/firstboot @@ -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) 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 3ed1b58616..a9dd2764dd 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" |