Skip to content

Commit eba7ffb

Browse files
Silence Warnings Related to AiMesh/AP Login
For AiMesh nodes, the password is always the same as the primary with no options to change, so we don't need the passwordloginchecker helper for those. And for an AP, they can be set to any password that doesn't match the primary, so displaying invalid password for those seems incorrect.
1 parent f499920 commit eba7ffb

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

MerlinAU.sh

Lines changed: 2 additions & 5 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-Jun-02
7+
# Last Modified: 2025-Jun-05
88
###################################################################
99
set -u
1010

1111
## Set version for each Production Release ##
12-
readonly SCRIPT_VERSION=1.4.7
12+
readonly SCRIPT_VERSION=1.4.8
1313
readonly SCRIPT_NAME="MerlinAU"
1414
## Set to "master" for Production Releases ##
1515
SCRIPT_BRANCH="master"
@@ -4787,11 +4787,8 @@ _GetNodeInfo_()
47874787

47884788
if [ $? -ne 0 ]
47894789
then
4790-
_UpdateLoginPswdCheckHelper_ FAILURE
4791-
printf "\n${REDct}Login failed for AiMesh Node [$NodeIP_Address].${NOct}\n"
47924790
return 1
47934791
fi
4794-
_UpdateLoginPswdCheckHelper_ SUCCESS
47954792

47964793
# Retrieve the HTML content #
47974794
htmlContent="$(curl -s -k "${NodeURLstr}/appGet.cgi?hook=nvram_get(productid)%3bnvram_get(asus_device_list)%3bnvram_get(cfg_device_list)%3bnvram_get(firmver)%3bnvram_get(buildno)%3bnvram_get(extendno)%3bnvram_get(webs_state_flag)%3bnvram_get(odmpid)%3bnvram_get(wps_modelnum)%3bnvram_get(model)%3bnvram_get(build_name)%3bnvram_get(lan_hostname)%3bnvram_get(webs_state_info)%3bnvram_get(label_mac)" \

0 commit comments

Comments
 (0)