Skip to content

Commit 7d97c1c

Browse files
authored
revert to using Sierra servers
1 parent a662b55 commit 7d97c1c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

autoflash-7455.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -304,13 +304,11 @@ sleep 1
304304

305305
function download_modem_firmware() {
306306
# Find latest 7455 firmware and download it
307-
# Temporary hosting until Sierra recovers from Cryptolocker
308-
# Reference: https://github.com/danielewood/sierra-wireless-modems/discussions/74
309-
310307
if [[ -z $SWI9X30C_ZIP ]]; then
311-
SWI9X30C_ZIP='SWI9X30C_02.33.03.00_GENERIC_002.072_000.zip'
308+
SWI9X30C_ZIP=$(curl https://source.sierrawireless.com/resources/airprime/minicard/74xx/airprime-em_mc74xx-approved-fw-packages/ 2> /dev/null | grep PTCRB -B1 | sed 's/,-d-,/./g' | grep -iEo '7455/swi9x30c[_0-9.]+_generic_[_0-9.]+' | cut -c 6- | tail -n1)
309+
SWI9X30C_ZIP="${SWI9X30C_ZIP^^}"'zip'
312310
fi
313-
SWI9X30C_URL='https://download.ttl.one/swi/7455/'"$SWI9X30C_ZIP"
311+
SWI9X30C_URL='https://source.sierrawireless.com/~/media/support_downloads/airprime/74xx/fw/7455/'"$SWI9X30C_ZIP"
314312

315313
SWI9X30C_LENGTH=$(curl -sI "$SWI9X30C_URL" | grep -i Content-Length | grep -Eo '[0-9]+')
316314

0 commit comments

Comments
 (0)