From 8a13e1e893288831e27f7417f0ba3251024e22a3 Mon Sep 17 00:00:00 2001 From: Pulse Monitor Date: Sat, 30 Aug 2025 16:29:50 +0000 Subject: [PATCH] fix: restore port prompt in Quick installation mode The Quick installation mode was no longer asking for the port number, just using the default 7655. This regression was introduced when the duplicate main function was removed. Restored the port prompt to Quick mode so users can specify a custom port if needed, matching the original behavior. --- install.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index dfe6fd1b1..d4fb26308 100755 --- a/install.sh +++ b/install.sh @@ -332,7 +332,13 @@ create_lxc_container() { onboot=1 firewall=1 unprivileged=1 - frontend_port=7655 + # Ask for port even in quick mode + echo + safe_read_with_default "Port [7655]: " frontend_port "7655" + if [[ ! "$frontend_port" =~ ^[0-9]+$ ]] || [[ "$frontend_port" -lt 1 ]] || [[ "$frontend_port" -gt 65535 ]]; then + print_info "Using default: 7655" + frontend_port=7655 + fi # Quick mode should ask about auto-updates too echo echo "Enable automatic updates?"