From d9322864b743a05295f27802fbb812933d6311e6 Mon Sep 17 00:00:00 2001 From: Martinski4GitHub <119833648+Martinski4GitHub@users.noreply.github.com> Date: Tue, 3 Mar 2026 00:06:29 -0800 Subject: [PATCH] Code Improvement Some code improvement when called from Scribe. --- README.md | 2 +- uiScribe.sh | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2099821..909e3af 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # uiScribe ## v1.4.13 -### Updated on 2026-Feb-22 +### Updated on 2026-Mar-02 ## About uiScribe updates the System Log page to show log files created by Scribe (syslog-ng). Requires [**Scribe**](https://github.com/cynicastic/scribe) diff --git a/uiScribe.sh b/uiScribe.sh index 27af1c8..eba370e 100644 --- a/uiScribe.sh +++ b/uiScribe.sh @@ -13,7 +13,7 @@ ## Forked from https://github.com/jackyaz/uiScribe ## ## ## ######################################################## -# Last Modified: 2026-Feb-21 +# Last Modified: 2026-Mar-02 #------------------------------------------------------- ########### Shellcheck directives ########## @@ -30,7 +30,7 @@ ### Start of script variables ### readonly SCRIPT_NAME="uiScribe" readonly SCRIPT_VERSION="v1.4.13" -readonly SCRIPT_VERSTAG="26022123" +readonly SCRIPT_VERSTAG="26030223" SCRIPT_BRANCH="develop" SCRIPT_REPO="https://raw.githubusercontent.com/AMTM-OSR/$SCRIPT_NAME/$SCRIPT_BRANCH" readonly SCRIPT_DIR="/jffs/addons/${SCRIPT_NAME}.d" @@ -1675,7 +1675,7 @@ Menu_Install() } ##----------------------------------------## -## Modified by Martinski W. [2025-Jun-09] ## +## Modified by Martinski W. [2026-Mar-02] ## ##----------------------------------------## Menu_Startup() { @@ -1705,7 +1705,9 @@ Menu_Startup() Auto_ServiceEvent create 2>/dev/null Set_Version_Custom_Settings local "$SCRIPT_VERSION" Shortcut_Script create - Mount_WebUI + if [ $# -eq 0 ] || [ "$1" != "Scribe" ] + then Mount_WebUI + fi Clear_Lock }