summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/sbin/wget2nand
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/base-files/sbin/wget2nand')
-rwxr-xr-xtarget/linux/ar71xx/base-files/sbin/wget2nand4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/sbin/wget2nand b/target/linux/ar71xx/base-files/sbin/wget2nand
index 9cd6e7c40..f80eecd21 100755
--- a/target/linux/ar71xx/base-files/sbin/wget2nand
+++ b/target/linux/ar71xx/base-files/sbin/wget2nand
@@ -6,7 +6,7 @@
# Licence GPL V2
# Author david.goodenough@linkchoose.co.uk
# Based on cf2nand from RB532 support
-. /etc/functions.sh
+. /lib/functions.sh
wget2nand_dir=/tmp/wget2nand
mnt_kernel=$wget2nand_dir/mnt_kernel
@@ -27,7 +27,7 @@ url=$1
exit 1
}
-url_kernel=$url/openwrt-ar71xx-nand-vmlinux.elf
+url_kernel=$url/openwrt-ar71xx-nand-vmlinux-lzma.elf
url_rootfs=$url/openwrt-ar71xx-nand-rootfs.tar.gz
mtd_kernel="$(find_mtd_part 'kernel')"