Skip to content

Commit 75e7a11

Browse files
Merge pull request #451 from ExtremeFiretop/ExtremeFiretop-SmallFixes
Minor Cosmetic Fixes and Additions
2 parents 3053b70 + ccdfd31 commit 75e7a11

File tree

4 files changed

+37
-35
lines changed

4 files changed

+37
-35
lines changed

MerlinAU.asp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2684,7 +2684,7 @@ function initializeCollapsibleSections()
26842684
<td>
26852685
<div style="display: inline-block;">
26862686
<input type="password" id="routerPassword" name="routerPassword" placeholder="Enter password"
2687-
style="width: 278px; display: inline-block; margin-left:2px; margin-top:3px;" maxlength="64"
2687+
style="width: 275px; display: inline-block; margin-left:2px; margin-top:3px;" maxlength="64"
26882688
onKeyPress="return validator.isString(this, event)"
26892689
onblur="ValidatePasswordString(this,'onBLUR')"
26902690
onkeyup="ValidatePasswordString(this,'onKEYUP')"/>
@@ -2784,7 +2784,7 @@ function initializeCollapsibleSections()
27842784
<div id="fwCronScheduleHOUR">
27852785
<span style="margin-left:1px; margin-top:10px; font-size: 12px; font-weight: bolder;">Hour:</span>
27862786
<input type="text" autocomplete="off" autocapitalize="off" data-lpignore="true"
2787-
style="width: 7%; margin-left: 20px; margin-top:10px; margin-bottom:7px" maxlength="2"
2787+
style="width: 7%; margin-left: 19px; margin-top:10px; margin-bottom:7px" maxlength="2"
27882788
id="fwScheduleHOUR" name="fwScheduleHOUR" value="0"
27892789
onKeyPress="return validator.isNumber(this,event)"
27902790
onkeyup="ValidateFWUpdateTime(this,'HOUR')"
@@ -2881,7 +2881,7 @@ function initializeCollapsibleSections()
28812881
</label>
28822882
</td>
28832883
<td>
2884-
<select id="rogFWBuildType" name="rogFWBuildType" style="width: 20%;" onchange="handleTUFROGChange(this)">
2884+
<select id="rogFWBuildType" name="rogFWBuildType" style="width: 21%;" onchange="handleTUFROGChange(this)">
28852885
<option value="ROG">ROG</option>
28862886
<option value="Pure">Pure</option>
28872887
</select>
@@ -2899,7 +2899,7 @@ function initializeCollapsibleSections()
28992899
</label>
29002900
</td>
29012901
<td>
2902-
<select id="tuffFWBuildType" name="tuffFWBuildType" style="width: 20%;" onchange="handleTUFROGChange(this)">
2902+
<select id="tuffFWBuildType" name="tuffFWBuildType" style="width: 21%;" onchange="handleTUFROGChange(this)">
29032903
<option value="TUF">TUF</option>
29042904
<option value="Pure">Pure</option>
29052905
</select>

MerlinAU.sh

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
#
55
# Original Creation Date: 2023-Oct-01 by @ExtremeFiretop.
66
# Official Co-Author: @Martinski W. - Date: 2023-Nov-01
7-
# Last Modified: 2025-Apr-08
7+
# Last Modified: 2025-Apr-09
88
###################################################################
99
set -u
1010

1111
## Set version for each Production Release ##
12-
readonly SCRIPT_VERSION=1.4.1
12+
readonly SCRIPT_VERSION=1.4.2
1313
readonly SCRIPT_NAME="MerlinAU"
1414
## Set to "master" for Production Releases ##
1515
SCRIPT_BRANCH="dev"
@@ -47,13 +47,6 @@ ScriptBuildNum=0
4747
ScriptVersionNum=""
4848
scriptUpdateNotify=0
4949

50-
##------------------------------------------##
51-
## Modified by ExtremeFiretop [2024-Oct-02] ##
52-
##------------------------------------------##
53-
# For minimum supported firmware version check #
54-
MinFirmwareVerCheckFailed=false
55-
MinSupportedFirmwareVers="3004.386.12.6"
56-
5750
# For router model check #
5851
routerModelCheckFailed=false
5952
offlineUpdateTrigger=false
@@ -196,12 +189,15 @@ readonly fwInstalledExtendNum="$(nvram get extendno)"
196189
readonly fwInstalledInnerVers="$(nvram get innerver)"
197190
readonly fwInstalledBranchVer="${fwInstalledBaseVers}.$(echo "$fwInstalledBuildVers" | awk -F'.' '{print $1}')"
198191

199-
##-------------------------------------##
200-
## Added by Martinski W. [2024-Oct-03] ##
201-
##-------------------------------------##
202-
readonly MinSupportedFW_3004_386_Ver="3004.386.12.6"
203-
readonly MinSupportedFW_3004_388_Ver="3004.388.6.2"
204-
readonly MinSupportedFW_3006_102_Ver="3004.388.8.0"
192+
193+
##------------------------------------------##
194+
## Modified by ExtremeFiretop [2025-Apr-09] ##
195+
##------------------------------------------##
196+
# For minimum supported firmware version check #
197+
MinFirmwareVerCheckFailed=false
198+
readonly MinSupportedFW_3004_386_Ver="3004.386.13.2"
199+
readonly MinSupportedFW_3004_388_Ver="3004.388.8.0"
200+
readonly MinSupportedFW_3006_102_Ver="3004.388.8.2"
205201

206202
case "$fwInstalledBranchVer" in
207203
"3004.386") MinSupportedFirmwareVers="$MinSupportedFW_3004_386_Ver" ;;
@@ -1137,9 +1133,9 @@ _UpdateLoginPswdCheckHelper_()
11371133
_WriteVarDefToPswdCheckJSFile_ "loginPswdCheckMsgStr" "$checkMsge"
11381134
}
11391135

1140-
##----------------------------------------##
1141-
## Modified by Martinski W. [2025-Apr-07] ##
1142-
##----------------------------------------##
1136+
##------------------------------------------##
1137+
## Modified by ExtremeFiretop [2025-Apr-09] ##
1138+
##------------------------------------------##
11431139
_InitCustomDefaultsConfig_()
11441140
{
11451141
[ ! -d "$SETTINGS_DIR" ] && mkdir -m 755 -p "$SETTINGS_DIR"
@@ -1158,6 +1154,7 @@ _InitCustomDefaultsConfig_()
11581154
echo "FW_New_Update_LOG_Preferred_Path=\"${FW_Update_LOG_BASE_DefaultDIR}\""
11591155
echo "FW_New_Update_EMail_CC_Name=TBD"
11601156
echo "FW_New_Update_EMail_CC_Address=TBD"
1157+
echo "FW_New_Update_Changelog_Approval=TBD"
11611158
echo "credentials_base64 TBD"
11621159
echo "CheckChangeLog ENABLED"
11631160
echo "FW_Update_Check TBD"
@@ -2852,7 +2849,7 @@ _SCRIPT_UPDATE_()
28522849

28532850
if [ "$SCRIPT_VERSION" = "$DLRepoVersion" ] && { [ -z "$DLRepoBuildNum" ] || [ "$DLRepoBuildNum" = "$ScriptBuildNum" ]; }
28542851
then
2855-
echo -e "${CYANct}You are on the latest version! Would you like to download anyways?${NOct}"
2852+
echo -e "${CYANct}You are on the latest version! Would you like to download anyway?${NOct}"
28562853
echo -e "${CYANct}This will overwrite your currently installed version.${NOct}"
28572854
if _WaitForYESorNO_
28582855
then
@@ -4350,9 +4347,9 @@ with the \"${GRNct}Web UI${NOct}\" access type on the \"Access restriction list\
43504347
return 1
43514348
}
43524349

4353-
##----------------------------------------##
4354-
## Modified by Martinski W. [2025-Mar-07] ##
4355-
##----------------------------------------##
4350+
##------------------------------------------##
4351+
## Modified by ExtremeFiretop [2025-Apr-09] ##
4352+
##------------------------------------------##
43564353
_GetLoginCredentials_()
43574354
{
43584355
local retry="yes" userName savedMsgStr
@@ -4415,6 +4412,8 @@ _GetLoginCredentials_()
44154412
if _WaitForYESorNO_ "\nWould you like to test the current login credentials?"
44164413
then
44174414
_TestLoginCredentials_ "$loginCredsENC" || continue
4415+
else
4416+
_UpdateLoginPswdCheckHelper_ UNKNOWN
44184417
fi
44194418

44204419
# Stop the loop if the test passes or if the user chooses not to test #
@@ -7195,7 +7194,7 @@ _high_risk_phrases_interactive_()
71957194
if [ "$inMenuMode" = true ]
71967195
then
71977196
printf "\n ${REDct}*WARNING*: Found high-risk phrases in the changelog file.${NOct}"
7198-
printf "\n ${REDct}Would you like to continue with the firmware update anyways?${NOct}"
7197+
printf "\n ${REDct}Would you like to continue with the firmware update anyway?${NOct}"
71997198
if ! _WaitForYESorNO_
72007199
then
72017200
Say "Exiting for changelog review."
@@ -10177,9 +10176,9 @@ _InvalidMenuSelection_()
1017710176
_WaitForEnterKey_
1017810177
}
1017910178

10180-
##----------------------------------------##
10181-
## Modified by Martinski W. [2025-Feb-15] ##
10182-
##----------------------------------------##
10179+
##------------------------------------------##
10180+
## Modified by ExtremeFiretop [2025-Apr-09] ##
10181+
##------------------------------------------##
1018310182
_ShowMainMenuOptions_()
1018410183
{
1018510184
local FW_NewUpdateVerStr FW_NewUpdateVersion
@@ -10261,8 +10260,10 @@ _ShowMainMenuOptions_()
1026110260
fi
1026210261
printf "\n${SEPstr}"
1026310262

10263+
loginStatusMsg=$(grep "^var loginPswdCheckMsgStr =" "$PSWD_CHECK_JS" | awk -F"'" '{print $2}')
1026410264
printf "\n ${GRNct}1${NOct}. Run F/W Update Check Now\n"
10265-
printf "\n ${GRNct}2${NOct}. Set Router Login Password\n"
10265+
printf "\n ${GRNct}2${NOct}. Set Router Login Password"
10266+
printf "\n${padStr}[Currently ${InvBMGNct}$loginStatusMsg${NOct}]\n"
1026610267

1026710268
# Enable/Disable the ASUS Router's built-in "F/W Update Check" #
1026810269
FW_UpdateCheckState="$(nvram get firmware_check_enable)"

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MerlinAU - AsusWRT-Merlin Firmware Auto Updater
2-
## v1.4.1
3-
## 2025-Apr-08
2+
## v1.4.2
3+
## 2025-Apr-09
44

55
## WebUI:
66
![image](https://github.com/user-attachments/assets/92701007-a902-4724-9bae-b255856a686a)
@@ -24,6 +24,7 @@
2424
- GT-AX11000_PRO (Tested)
2525
- GT-AX11000 (Tested)
2626
- GT-AC2900 **(Untested)**
27+
- RT-BE92U **(Untested)**
2728
- RT-BE96U **(Untested)**
2829
- RT-BE88U **(Untested)**
2930
- RT-BE86U **(Untested)**

version.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
1.4.1
2-
25040806
1+
1.4.2
2+
25040902

0 commit comments

Comments
 (0)