summaryrefslogtreecommitdiffstats
path: root/package/wget2nand
diff options
context:
space:
mode:
Diffstat (limited to 'package/wget2nand')
-rwxr-xr-xpackage/wget2nand/src/wget2nand2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/wget2nand/src/wget2nand b/package/wget2nand/src/wget2nand
index 0dffa8a31..9588396fd 100755
--- a/package/wget2nand/src/wget2nand
+++ b/package/wget2nand/src/wget2nand
@@ -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