Modify download section

This commit is contained in:
floh1111 2012-06-08 12:56:53 +00:00
parent c1d2568f21
commit 2ee5e48fa7
1 changed files with 6 additions and 2 deletions

View File

@ -277,10 +277,14 @@ case "$1" in
if [ "$2" = "help" ] || [ "$2" = "" ]; then if [ "$2" = "help" ] || [ "$2" = "" ]; then
echo "This option downloads the ready configured images from an external location if needet." echo "This option downloads the ready configured images from an external location if needet."
echo "Usage: $0 $1 http://downloadfolder router-type" echo "Usage: $0 $1 http://downloadfolder router-type"
echo "Common downloadfolder for firmware version 0.3 is http://dev.freifunk-ol.de/firmware/0.3/"
routers routers
else else
wget "$2/openwrt-$3-root.squashfs" mkdir ./bin
wget "$2/openwrt-$3-vmlinux.lzma" cd ./bin
wget "$2/$3/openwrt-$3-root.squashfs"
wget "$2/$3/openwrt-$3-vmlinux.lzma"
cd ..
fi fi
;; ;;
"flash") "flash")