diff --git a/README.md b/README.md index f1ca255..057a219 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ **scribe** is a **syslog-ng** and **logrotate** installer for ASUS routers running **Asuswrt-Merlin** -## v3.2.9 -### Updated on 2026-Feb-07 +## v3.2.10 +### Updated on 2026-Feb-15 ## Getting Started diff --git a/scribe.sh b/scribe.sh index f7ef462..e128e59 100644 --- a/scribe.sh +++ b/scribe.sh @@ -18,7 +18,7 @@ # curl --retry 3 "https://raw.githubusercontent.com/AMTM-OSR/scribe/master/scribe.h" -o "/jffs/scripts/scribe" && chmod 0755 /jffs/scripts/scribe && /jffs/scripts/scribe install # ################################################################## -# Last Modified: 2026-Feb-07 +# Last Modified: 2026-Feb-15 #----------------------------------------------------------------- ################ Shellcheck directives ################ @@ -34,9 +34,9 @@ ################################################################# readonly script_name="scribe" -readonly scribe_ver="v3.2.9" -readonly scriptVer_TAG="26020700" -scribe_branch="master" +readonly scribe_ver="v3.2.10" +readonly scriptVer_TAG="26021523" +scribe_branch="develop" script_branch="$scribe_branch" # Ensure firmware binaries are used, not Entware # @@ -1382,9 +1382,9 @@ _HasRouterMoreThan512MBtotalRAM_() fi } -##-------------------------------------## -## Added by Martinski W. [2025-Dec-05] ## -##-------------------------------------## +##----------------------------------------## +## Modified by Martinski W. [2026-Feb-15] ## +##----------------------------------------## _Generate_ListOf_Filtered_LogFiles_() { local tmpSysLogList="${HOMEdir}/${script_name}_tempSysLogList_$$.txt" @@ -1397,13 +1397,13 @@ _Generate_ListOf_Filtered_LogFiles_() then while read -r theLINE && [ -n "$theLINE" ] do - logFilePath="$(echo "$theLINE" | sed -e 's/^[ ]*file("//;s/".*$//')" + logFilePath="$(echo "$theLINE" | sed -e "s/.*[{[:blank:]]\?file([\"']//;s/[\"'].*$//")" if grep -qE "^${logFilePath}$" "$tmpFilterList" then continue #Avoid duplicates# fi echo "$logFilePath" >> "$tmpFilterList" done <