forked from freifunk-franken/firmware
Modify download section
This commit is contained in:
parent
c1d2568f21
commit
2ee5e48fa7
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue