Fix routerboard boot partition name in wget2nand (#3791)
SVN-Revision: 11897
This commit is contained in:
parent
c1ce330694
commit
a7bbd93956
|
@ -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