aboutsummaryrefslogtreecommitdiffstats
path: root/package/wget2nand
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-05-30 11:48:28 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-05-30 11:48:28 +0000
commite86c7c6d6ff76ae5419b60ee616d1709ec6d00c2 (patch)
treec4aa90f016ac0317f926fe0d4a84d0331db525fd /package/wget2nand
parente70e569825847d63d6534dc405ad4417c34dc9e9 (diff)
downloadupstream-e86c7c6d6ff76ae5419b60ee616d1709ec6d00c2.tar.gz
upstream-e86c7c6d6ff76ae5419b60ee616d1709ec6d00c2.tar.bz2
upstream-e86c7c6d6ff76ae5419b60ee616d1709ec6d00c2.zip
Update YAFFS config, wget2nand should use br-lan since eth0 is always bridged now, vmlinux.elf has to be used
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7404 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/wget2nand')
-rwxr-xr-xpackage/wget2nand/src/wget2nand6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/wget2nand/src/wget2nand b/package/wget2nand/src/wget2nand
index 5197dbad82..0dffa8a319 100755
--- a/package/wget2nand/src/wget2nand
+++ b/package/wget2nand/src/wget2nand
@@ -13,9 +13,9 @@
exit 1
}
-# first get an address for eth0 using udhcpc
+# first get an address for br-lan using udhcpc
killall udhcpc
-/sbin/udhcpc -i eth0
+/sbin/udhcpc -i br-lan
# need to find the wget server from the command line
url=$1
@@ -45,7 +45,7 @@ mount -t yaffs2 "$boot" /tmp/wget2nand-boot
echo "Copying filesystem..."
( wget -O - $url/openwrt-adm5120-2.6-rootfs.tgz) | ( cd /tmp/wget2nand/; tar xvz )
-wget -O /tmp/wget2nand-boot/kernel $url/openwrt-adm5120-2.6-vmlinux
+wget -O /tmp/wget2nand-boot/kernel $url/openwrt-adm5120-2.6-vmlinux.elf
# update the command line on the kernel to boot from the right place
[ ! -e /sbin/patch-cmdline ] && {