Fix routerboard boot partition name in wget2nand (#3791)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11897 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
c2d30987f5
commit
17b27ff0a3
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue