Fix routerboard boot partition name in wget2nand (#3791)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11897 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Florian Fainelli 2008-07-21 20:00:40 +00:00
parent c2d30987f5
commit 17b27ff0a3
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ url=$1
exit 1 exit 1
} }
boot="$(find_mtd_part 'RouterBoard NAND Boot')" boot="$(find_mtd_part 'Routerboard NAND Boot')"
main="$(find_mtd_part 'rootfs')" main="$(find_mtd_part 'rootfs')"
[ -z "$boot" -o -z "$main" ] && { [ -z "$boot" -o -z "$main" ] && {
echo "Cannot find NAND Flash partitions" echo "Cannot find NAND Flash partitions"