@@ -176,6 +176,14 @@ keepConfigFile=false
176176bypassPostponedDays=false
177177runLoginCredentialsTest=false
178178
179+ # #---------------------------------------##
180+ # # Added by ExtremeFiretop [2025-Apr-07] ##
181+ # #---------------------------------------##
182+ MerlinAUInstall=$( grep -F ' #MerlinAU#' /jffs/scripts/services-start)
183+ if [ -z " $MerlinAUInstall " ] && tty > /dev/null 2>&1 ; then
184+ set " install"
185+ fi
186+
179187# Main LAN Network Info #
180188readonly myLAN_HostName=" $( nvram get lan_hostname) "
181189readonly mainLAN_IFname=" $( nvram get lan_ifname) "
@@ -2151,35 +2159,14 @@ _Mount_WebUI_()
21512159 return 0
21522160}
21532161
2154- # #------------------------------------------ ##
2155- # # Modified by ExtremeFiretop [2025-Apr-07 ] ##
2156- # #------------------------------------------ ##
2162+ # #-------------------------------------##
2163+ # # Added by Martinski W. [2025-Feb-12 ] ##
2164+ # #-------------------------------------##
21572165_CheckFor_WebGUI_Page_ ()
21582166{
2159- if " $mountWebGUI_OK " && \
2160- [ " $( _Check_WebGUI_Page_Exists_) " = " NONE" ]
2161- then
2162- # Only try to download if the local .asp file does NOT exist:
2163- if [ ! -f " $SCRIPT_WEB_ASP_FILE " ]
2164- then
2165- if _CurlFileDownload_ " $SCRIPT_WEB_ASP_FILE " " $SCRIPT_WEB_ASP_PATH "
2166- then
2167- chmod 664 " $SCRIPT_WEB_ASP_PATH "
2168- theWebPage=" $( _GetWebUIPage_ " $SCRIPT_WEB_ASP_PATH " ) "
2169- if [ -n " $theWebPage " ] && [ " $theWebPage " != " NONE" ]
2170- then
2171- sed -i " /url: \" $theWebPage \" , tabName: \" $SCRIPT_NAME \" /d" " $TEMP_MENU_TREE "
2172- rm -f " ${SHARED_WEB_DIR} /$theWebPage "
2173- rm -f " ${SHARED_WEB_DIR} /$( echo " $theWebPage " | cut -f1 -d' .' ) .title"
2174- fi
2175- _Mount_WebUI_
2176- else
2177- Say " ${REDct} **ERROR**${NOct} : Unable to download latest WebUI ASP file for $SCRIPT_NAME ."
2178- fi
2179- else
2180- _Mount_WebUI_
2181- fi
2182- fi
2167+ if " $mountWebGUI_OK " && \
2168+ [ " $( _Check_WebGUI_Page_Exists_) " = " NONE" ]
2169+ then _Mount_WebUI_ ; fi
21832170}
21842171
21852172# #----------------------------------------##
0 commit comments