From 3efca12476afd6470bb22a82659316139c66abcb Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sat, 25 Jan 2025 13:50:58 +0100 Subject: [PATCH] tree: update to latest changes Signed-off-by: AuxXxilium --- files/initrd/opt/arc/arc-functions.sh | 2 +- files/initrd/opt/arc/include/consts.sh | 2 +- files/initrd/opt/arc/init.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/initrd/opt/arc/arc-functions.sh b/files/initrd/opt/arc/arc-functions.sh index fe68ad31..4511f102 100755 --- a/files/initrd/opt/arc/arc-functions.sh +++ b/files/initrd/opt/arc/arc-functions.sh @@ -1822,7 +1822,7 @@ function loaderPorts() { [ $? -eq 0 ] && continue || break fi rm -f "/etc/arc.conf" - [ "${HTTPPORT:-8080}" != "8080" ] && echo "HTTP_PORT=${HTTPPORT}" >>"/etc/arc.conf" + [ "${HTTPPORT:-5000}" != "5000" ] && echo "HTTP_PORT=${HTTPPORT}" >>"/etc/arc.conf" [ "${DUFSPORT:-7304}" != "7304" ] && echo "DUFS_PORT=${DUFSPORT}" >>"/etc/arc.conf" [ "${TTYDPORT:-7681}" != "7681" ] && echo "TTYD_PORT=${TTYDPORT}" >>"/etc/arc.conf" RDXZ_PATH="${TMP_PATH}/rdxz_tmp" diff --git a/files/initrd/opt/arc/include/consts.sh b/files/initrd/opt/arc/include/consts.sh index 9a369bfc..9933c880 100755 --- a/files/initrd/opt/arc/include/consts.sh +++ b/files/initrd/opt/arc/include/consts.sh @@ -44,7 +44,7 @@ EXTRACTOR_PATH="${PART3_PATH}/extractor" EXTRACTOR_BIN="syno_extract_system_patch" HTTPPORT=$(grep -i '^HTTP_PORT=' /etc/arc.conf 2>/dev/null | cut -d'=' -f2) -[ -z "${HTTPPORT}" ] && HTTPPORT=8080 || true +[ -z "${HTTPPORT}" ] && HTTPPORT=5000 || true DUFSPORT=$(grep -i '^DUFS_PORT=' /etc/arc.conf 2>/dev/null | cut -d'=' -f2) [ -z "${DUFSPORT}" ] && DUFSPORT=7304 || true TTYDPORT=$(grep -i '^TTYD_PORT=' /etc/arc.conf 2>/dev/null | cut -d'=' -f2) diff --git a/files/initrd/opt/arc/init.sh b/files/initrd/opt/arc/init.sh index a6aa8c1e..80c83239 100755 --- a/files/initrd/opt/arc/init.sh +++ b/files/initrd/opt/arc/init.sh @@ -221,7 +221,7 @@ touch "${HOME}/.initialized" # Load Arc Overlay echo -e "\033[1;34mLoading Arc Overlay...\033[0m" echo -echo -e "Use \033[1;34mDisplay Output\033[0m or \033[1;34mhttp://${IPCON}:${TTYDPORT:-7681}\033[0m to configure Loader." +echo -e "Use \033[1;34mDisplay Output\033[0m or \033[1;34mhttp://${IPCON}:${HTTPPORT:-5000}\033[0m to configure Loader." # Check memory and load Arc RAM=$(awk '/MemTotal:/ {printf "%.0f", $2 / 1024}' /proc/meminfo 2>/dev/null)