Skip to content

Commit 61197a0

Browse files
Merge pull request #465 from Martinski4GitHub/dev
Minor changes & fixes
2 parents dc5ec50 + c91d19a commit 61197a0

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

MerlinAU.sh

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -309,14 +309,15 @@ _UserLogMsg_()
309309
}
310310

311311
##----------------------------------------##
312-
## Modified by Martinski W. [2025-Feb-15] ##
312+
## Modified by Martinski W. [2025-May-05] ##
313313
##----------------------------------------##
314314
Say()
315315
{
316316
local logMsg
317317
"$isInteractive" && printf "${1}\n"
318318
# Remove all "color escape sequences" from the system log file entries #
319-
logMsg="$(echo "$1" | sed 's/\\\e\[[0-1]m//g ; s/\\\e\[[0-1];[3-4][0-9]m//g')"
319+
logMsg="$(echo "$1" | \
320+
sed 's/\\e\[[0-1]m//g; s/\\e\[[3-4][0-9]m//g; s/\\e\[[0-1];[3-4][0-9]m//g; s/\\e\[30;10[1-9]m//g; s/\\n/ /g')"
320321
_UserLogMsg_ "$logMsg"
321322
printf "$logMsg" | logger -t "[${SCRIPT_NAME}] $$"
322323
}
@@ -2829,9 +2830,9 @@ _DownloadScriptFiles_()
28292830
return "$retCode"
28302831
}
28312832

2832-
##------------------------------------------##
2833-
## Modified by ExtremeFiretop [2025-Apr-14] ##
2834-
##------------------------------------------##
2833+
##----------------------------------------##
2834+
## Modified by Martinski W. [2025-May-05] ##
2835+
##----------------------------------------##
28352836
_SCRIPT_UPDATE_()
28362837
{
28372838
local extraParam=""
@@ -2868,7 +2869,6 @@ _SCRIPT_UPDATE_()
28682869
fi
28692870
return 1
28702871
fi
2871-
return 0
28722872
fi
28732873

28742874
! _CheckForNewScriptUpdates_ && return 1
@@ -4798,7 +4798,6 @@ _GetLatestFWUpdateVersionFromGitHub_()
47984798
grep -o "$grep_pattern" | \
47994799
grep -o "https://[^ ]*\.\(w\|pkgtb\)")"
48004800

4801-
48024801
if [ -z "$downloadURLs" ]
48034802
then
48044803
echo "**ERROR** **NO_GITHUB_URL**"
@@ -7311,7 +7310,7 @@ _ChangelogVerificationCheck_()
73117310
local current_version formatted_current_version
73127311
local release_version formatted_release_version
73137312
local checkChangeLogSetting="$(Get_Custom_Setting "CheckChangeLog")"
7314-
local changeLogFName changeLogFPath
7313+
local changeLogFName changeLogFPath changeLogTag
73157314

73167315
if [ "$checkChangeLogSetting" = "ENABLED" ]
73177316
then
@@ -7516,7 +7515,7 @@ _ManageChangelogGnuton_()
75167515
then echo "**ERROR** **NO_PARAMS**" ; return 1 ; fi
75177516

75187517
local mode="$1" # Mode should be 'download' or 'view' #
7519-
local wgetLogFile FW_Changelog_GITHUB changeLogTag
7518+
local wgetLogFile FW_Changelog_GITHUB
75207519

75217520
# Create directory to download changelog if missing
75227521
if ! _CreateDirectory_ "$FW_BIN_DIR" ; then return 1 ; fi
@@ -9050,7 +9049,7 @@ Please manually update to version ${GRNct}${MinSupportedFirmwareVers}${NOct} or
90509049

90519050
_SendEMailNotification_ POST_REBOOT_FW_UPDATE_SETUP
90529051
echo
9053-
Say "Flashing ${GRNct}${firmware_file}${NOct}... ${REDct}Please wait for reboot in about 4 minutes or less.${NOct}"
9052+
Say "Flashing ${GRNct}${firmware_file}${NOct}...\n${REDct}Please wait for reboot in about 4 minutes or less.${NOct}"
90549053
echo
90559054

90569055
# *WARNING*: NO MORE logging at this point & beyond #

README.md

Lines changed: 2 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.3
3-
## 2025-Apr-26
2+
## v1.4.4
3+
## 2025-May-???
44

55
## WebUI:
66
![image](https://github.com/user-attachments/assets/a2197262-ca35-451a-8645-311896e1495e)

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.3
1+
1.4.4

0 commit comments

Comments
 (0)