diff --git a/README.md b/README.md index 793cc7c..057a219 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ **scribe** is a **syslog-ng** and **logrotate** installer for ASUS routers running **Asuswrt-Merlin** ## v3.2.10 -### Updated on 2026-Feb-14 +### Updated on 2026-Feb-15 ## Getting Started diff --git a/scribe.sh b/scribe.sh index 75d4849..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-14 +# Last Modified: 2026-Feb-15 #----------------------------------------------------------------- ################ Shellcheck directives ################ @@ -35,7 +35,7 @@ readonly script_name="scribe" readonly scribe_ver="v3.2.10" -readonly scriptVer_TAG="26021400" +readonly scriptVer_TAG="26021523" scribe_branch="develop" script_branch="$scribe_branch" @@ -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 <