Skip to content

Commit 14671ba

Browse files
authored
Adjust to new Sierra download pages and formats (#137)
Update URL for download page, as well as page format changes to extract firmware URL.
1 parent 50fe059 commit 14671ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoflash-7455.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# https://github.com/danielewood/sierra-wireless-modems
3030

3131
#.VERSION
32-
# Version: 20210405
32+
# Version: 20221008
3333

3434
##################
3535
### Pre-Checks ###
@@ -305,7 +305,7 @@ sleep 1
305305
function download_modem_firmware() {
306306
# Find latest 7455 firmware and download it
307307
if [[ -z $SWI9X30C_ZIP ]]; then
308-
SWI9X30C_URL=$(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 -iPo 'href="\K.+/swi9x30c[_0-9.]+_generic_[_0-9.]+' | tail -n1)
308+
SWI9X30C_URL=$(curl -s https://source.sierrawireless.com/resources/airprime/minicard/74xx/em_mc74xx-approved-fw-packages/ 2>/dev/null | grep 'GCF Approved' -B1 | grep '7455' | sed 's/,-d-,/./g' | grep -iPo 'href="\K.+/swi9x30c[_0-9.]+_generic_[_0-9.]+' | tail -n1)
309309
SWI9X30C_ZIP=${SWI9X30C_URL##*/}
310310
SWI9X30C_ZIP="${SWI9X30C_ZIP^^}"'zip'
311311
fi

0 commit comments

Comments
 (0)