From 14671ba922a1b1c1b62de958687e57d277390559 Mon Sep 17 00:00:00 2001 From: Daniel Wood Date: Sat, 8 Oct 2022 12:46:16 -0600 Subject: [PATCH] Adjust to new Sierra download pages and formats (#137) Update URL for download page, as well as page format changes to extract firmware URL. --- autoflash-7455.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoflash-7455.sh b/autoflash-7455.sh index b54eda4..c758407 100644 --- a/autoflash-7455.sh +++ b/autoflash-7455.sh @@ -29,7 +29,7 @@ # https://github.com/danielewood/sierra-wireless-modems #.VERSION -# Version: 20210405 +# Version: 20221008 ################## ### Pre-Checks ### @@ -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