From d2637c3a0250047bbd0839fc6c21db532864c94d Mon Sep 17 00:00:00 2001 From: Nathan Gaberel Date: Sat, 21 Jan 2023 17:17:14 -0800 Subject: [PATCH] Rewrite WEB_PORT log. Signed-off-by: Nathan Gaberel --- src/s6/debian-root/usr/local/bin/bash_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/s6/debian-root/usr/local/bin/bash_functions.sh b/src/s6/debian-root/usr/local/bin/bash_functions.sh index c9d95e8..efb22c2 100644 --- a/src/s6/debian-root/usr/local/bin/bash_functions.sh +++ b/src/s6/debian-root/usr/local/bin/bash_functions.sh @@ -399,7 +399,7 @@ setup_web_port() { return fi echo " [i] Custom WEB_PORT set to $web_port" - echo " [i] Without proper router DNAT forwarding to $FTLCONF_LOCAL_IPV4:$web_port, you may not get any blocked websites on ads" + echo " [i] Without proper router DNAT forwarding to ${WEB_BIND_ADDR:-$FTLCONF_LOCAL_IPV4}:$web_port, you may not get any blocked websites on ads" # Update lighttpd's port sed -i '/server.port\s*=\s*80\s*$/ s/80/'"${WEB_PORT}"'/g' /etc/lighttpd/lighttpd.conf