From 10a5a18abb6d80cea31ed3aec800ba6738bc39b6 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sat, 9 Nov 2024 21:59:11 +0100 Subject: [PATCH] arc-function: set defaults for latest changes Signed-off-by: AuxXxilium --- files/initrd/opt/arc/arc-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/initrd/opt/arc/arc-functions.sh b/files/initrd/opt/arc/arc-functions.sh index e19898d0..12915052 100755 --- a/files/initrd/opt/arc/arc-functions.sh +++ b/files/initrd/opt/arc/arc-functions.sh @@ -1566,7 +1566,7 @@ function loaderPorts() { TTYDPORT=$(grep -i '^TTYD_PORT=' /etc/arc.conf 2>/dev/null | cut -d'=' -f2) while true; do dialog --backtitle "$(backtitle)" --title "Loader Ports" \ - --form "${MSG}" 11 70 3 "HTTP" 1 1 "${HTTPPORT}" 1 10 55 0 "DUFS" 2 1 "${DUFSPORT}" 2 10 55 0 "TTYD" 3 1 "${TTYDPORT}" 3 10 55 0 \ + --form "${MSG}" 11 70 3 "HTTP" 1 1 "${HTTPPORT:-8080}" 1 10 55 0 "DUFS" 2 1 "${DUFSPORT:-7304}" 2 10 55 0 "TTYD" 3 1 "${TTYDPORT:-7681}" 3 10 55 0 \ 2>"${TMP_PATH}/resp" RET=$? case ${RET} in