Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion MerlinAU.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2243,6 +2243,19 @@ _CheckFor_WebGUI_Page_()
fi
}

##-------------------------------------##
## Added by Martinski W. [2025-Apr-07] ##
##-------------------------------------##
_CheckFor_VersionFile_()
{
if [ ! -s "$SCRIPT_VERPATH" ]
then
_ReleaseLock_
exec "$ScriptFilePath" install
exit 0
fi
}

##----------------------------------------##
## Modified by Martinski W. [2025-Jan-11] ##
##----------------------------------------##
Expand Down Expand Up @@ -10806,7 +10819,7 @@ FW_InstalledVerStr="${GRNct}${FW_InstalledVersion}${NOct}"
FW_NewUpdateVerInit=TBD

##----------------------------------------##
## Modified by Martinski W. [2025-Feb-12] ##
## Modified by Martinski W. [2025-Apr-07] ##
##----------------------------------------##
if [ $# -eq 0 ] || [ -z "$1" ] || \
{ [ $# -gt 1 ] && [ "$1" = "reload" ] ; }
Expand All @@ -10823,8 +10836,10 @@ then
fi
if [ "$ScriptAutoUpdateSetting" = "ENABLED" ]
then _AddScriptAutoUpdateCronJob_ ; fi

_ConfirmCronJobForFWAutoUpdates_
_CheckFor_WebGUI_Page_
_CheckFor_VersionFile_

_MainMenu_ "$@"
_DoExit_ 0
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
1.4.1
25040718
25040723