|
|
@@ -13,17 +13,18 @@
|
|
|
exit 1
|
|
|
}
|
|
|
|
|
|
-# first get an address for br-lan using udhcpc
|
|
|
-killall udhcpc
|
|
|
-/sbin/udhcpc -i br-lan
|
|
|
-
|
|
|
# need to find the wget server from the command line
|
|
|
url=$1
|
|
|
[ -z "$url" ] && {
|
|
|
- echo "No URL specified for image TGZ"
|
|
|
- echo "Usage : $0 URL"
|
|
|
- exit 1
|
|
|
-}
|
|
|
+ echo "No URL specified for image TGZ"
|
|
|
+ echo "Usage : $0 URL"
|
|
|
+ exit 1
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+# first get an address for br-lan using udhcpc
|
|
|
+killall udhcpc
|
|
|
+/sbin/udhcpc -i br-lan
|
|
|
|
|
|
boot="$(find_mtd_part 'RouterBoard NAND Boot')"
|
|
|
main="$(find_mtd_part 'rootfs')"
|