Skip to content

Commit

Permalink
Update manifest2.txt to include RT-AX92U (#600)
Browse files Browse the repository at this point in the history
* Updating Notes and manifest to version:3004.388.7 1-gnuton1 [SKIP_CI]

* Update manifest2.txt to include RT-AX92U

Update manifest2.txt to include RT-AX92U

* Update merlin_webs_update.sh

* Update merlin_webs_update.sh

* Update merlin_webs_update.sh

* Update merlin_webs_update.sh

* Update merlin_webs_update.sh

---------

Co-authored-by: Circle CI BOT <[email protected]>
  • Loading branch information
ExtremeFiretop and Circle CI BOT authored Jun 23, 2024
1 parent 5eccd03 commit ddac4a5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 22 deletions.
35 changes: 13 additions & 22 deletions release/src/router/rom/webs_scripts/merlin_webs_update.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh
set -u;

wget_options="-q -t 2 -T 30"

fwsite="https://raw.githubusercontent.com/gnuton/asuswrt-merlin.ng/master/updates/"
fwsite="https://raw.githubusercontent.com/gnuton/asuswrt-merlin.ng/master/updates"

nvram set webs_state_update=0 # INITIALIZING
nvram set webs_state_flag=0 # 0: Don't do upgrade 1: Do upgrade
Expand All @@ -18,20 +18,15 @@ fi
current_base=$(nvram get firmver | sed "s/\.//g")
current_firm=$(nvram get buildno | cut -d. -f1)
current_buildno=$(nvram get buildno | cut -d. -f2)
current_extendno=$(nvram get extendno | sed "s/-g.*//" | sed "s/_.*//" | sed "s/alpha\|beta/-1/")
#Extract extendno, subtract value by 1 if it contains "alpha/beta", remove all other values such as "_rog" or "-g*"
current_extendno="$(nvram get extendno | awk -F'[_-]' '{n=$1} /[aA]lpha|[bB]eta/{n--} END{print n}')"

# get firmware information
forsq=$(nvram get apps_sq)
model=$(nvram get productid)
model="$model#"

if [ "$forsq" == "1" ]; then
echo "---- update sq normal----" > /tmp/webs_upgrade.log
/usr/sbin/wget $wget_options $fwsite/test/manifest2.txt -O /tmp/wlan_update.txt
else
echo "---- update real normal----" > /tmp/webs_upgrade.log
/usr/sbin/wget $wget_options $fwsite/manifest2.txt -O /tmp/wlan_update.txt
fi
echo "---- update real normal----" > /tmp/webs_upgrade.log
/usr/sbin/wget $wget_options $fwsite/manifest2.txt -O /tmp/wlan_update.txt

if [ "$?" != "0" ]; then
nvram set webs_state_error=1
Expand Down Expand Up @@ -88,21 +83,17 @@ fi
webs_state_flag=$(nvram get webs_state_flag)
if [ "$webs_state_flag" -eq "1" ]; then
releasenote_file0_US=$(nvram get webs_state_info)_note.txt
releasenote_file0=$(nvram get webs_state_info)_note.txt
releasenote_path0="/tmp/release_note0.txt"
if [ "$forsq" == "1" ]; then
echo "---- download SQ release note $fwsite/test/$releasenote_file0_US ----" >> /tmp/webs_upgrade.log
/usr/sbin/wget $wget_options $fwsite/test/$releasenote_file0_US -O $releasenote_path0
echo "---- $fwsite/test/$releasenote_file0 ----" >> /tmp/webs_upgrade.log
else
echo "---- download real release note ----" >> /tmp/webs_upgrade.log
/usr/sbin/wget $wget_options $fwsite/$releasenote_file0_US -O $releasenote_path0
echo "---- $fwsite/$releasenote_file0 ----" >> /tmp/webs_upgrade.log
fi
echo "---- download real release note ----" >> /tmp/webs_upgrade.log
/usr/sbin/wget $wget_options $fwsite/$releasenote_file0_US -O $releasenote_path0
echo "---- $fwsite/$releasenote_file0_US ----" >> /tmp/webs_upgrade.log
if [ "$?" != "0" ]; then
echo "---- download SQ release note failed ----" >> /tmp/webs_upgrade.log
echo "---- download $fwsite/$releasenote_file0 failed ----" >> /tmp/webs_upgrade.log
nvram set webs_state_error=1
else
echo "---- $fwsite/$releasenote_file0 ----" >> /tmp/webs_upgrade.log
fi
fi
Expand Down
3 changes: 3 additions & 0 deletions updates/manifest2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ RT-AX82U_V2#FW3004.388.6#EXT0-gnuton1
RT-AX5400#FW3004.388.6#EXT0-gnuton1
TUF-AX5400#FW3004.388.6#EXT0-gnuton1
TUF-AX3000#FW3004.388.6#EXT0-gnuton1
RT-AX92U#FW3004.388.6#EXT0-gnuton1
RT-AX95Q#FW3004.388.6#EXT0-gnuton1
RT-AXE95Q#FW3004.388.6#EXT0-gnuton1
DSL-AX82U#FW3004.388.6#EXT2-gnuton1
Expand All @@ -13,6 +14,7 @@ RT-AX5400#FW3004.388.6#EXT2-gnuton1
TUF-AX5400#FW3004.388.6#EXT2-gnuton1
TUF-AX3000#FW3004.388.6#EXT2-gnuton1
TUF-AX3000_V2#FW3004.388.6#EXT2-gnuton1
RT-AX92U#FW3004.388.6#EXT2-gnuton1
RT-AX95Q#FW3004.388.6#EXT2-gnuton1
RT-AXE95Q#FW3004.388.6#EXT2-gnuton1
RT-AX5400#FW3004.388.6#EXT2-gnuton1
Expand All @@ -24,6 +26,7 @@ RT-AX5400#FW3004.388.7#EXT1-gnuton1
TUF-AX5400#FW3004.388.7#EXT1-gnuton1
TUF-AX3000#FW3004.388.7#EXT1-gnuton1
TUF-AX3000_V2#FW3004.388.7#EXT1-gnuton1
RT-AX92U#FW3004.388.7#EXT1-gnuton1
RT-AX95Q#FW3004.388.7#EXT1-gnuton1
RT-AXE95Q#FW3004.388.7#EXT1-gnuton1
RT-AX5400#FW3004.388.7#EXT1-gnuton1
Expand Down

0 comments on commit ddac4a5

Please sign in to comment.