parent
668d311679
commit
1bc2d5884b
|
@ -26,7 +26,7 @@ url=$1
|
|||
}
|
||||
|
||||
boot="$(find_mtd_part 'RouterBoard NAND Boot')"
|
||||
main="$(find_mtd_part 'RouterBoard NAND Main')"
|
||||
main="$(find_mtd_part 'rootfs')"
|
||||
[ -z "$boot" -o -z "$main" ] && {
|
||||
echo "Cannot find NAND Flash partitions"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue