mirror of https://github.com/OpenIPC/firmware.git
Small fixes
parent
2feb5866aa
commit
ac380812fc
|
@ -1,3 +1,2 @@
|
|||
f2fs
|
||||
vfat
|
||||
#usb-storage
|
||||
|
|
|
@ -83,7 +83,7 @@ download_firmware() {
|
|||
echo "Download from $url"
|
||||
[ -z "$HASERLVER" ] && progress="-#" || progress="-s"
|
||||
[ "$(curl -o /dev/null -s -w '%{http_code}\n' "$url")" = "000" ] && die "Check your network!"
|
||||
curl --connect-timeout 30 -s -m 60 -L "$url" ${progress} -o - | gzip -d | tar xf - -C /tmp && echo_c 32 "Received and unpacked" || die "Cannot retrieve $url"
|
||||
curl --connect-timeout 30 -s -m 120 -L "$url" ${progress} -o - | gzip -d | tar xf - -C /tmp && echo_c 32 "Received and unpacked" || die "Cannot retrieve $url"
|
||||
if [ "1" != "$skip_md5" ]; then
|
||||
(cd /tmp && md5sum -s -c *.md5sum) || die "Wrong checksum!"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue