Skip to content

Commit

Permalink
Adjust to new Sierra download pages and formats (#137)
Browse files Browse the repository at this point in the history
Update URL for download page, as well as page format changes to extract firmware URL.
  • Loading branch information
danielewood authored Oct 8, 2022
1 parent 50fe059 commit 14671ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoflash-7455.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# https://github.com/danielewood/sierra-wireless-modems

#.VERSION
# Version: 20210405
# Version: 20221008

##################
### Pre-Checks ###
Expand Down Expand Up @@ -305,7 +305,7 @@ sleep 1
function download_modem_firmware() {
# Find latest 7455 firmware and download it
if [[ -z $SWI9X30C_ZIP ]]; then
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)
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)
SWI9X30C_ZIP=${SWI9X30C_URL##*/}
SWI9X30C_ZIP="${SWI9X30C_ZIP^^}"'zip'
fi
Expand Down

0 comments on commit 14671ba

Please sign in to comment.