From 364281354c75eceb1d1eec88687cf0bd7debca64 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Thu, 2 Jan 2025 13:43:32 +0100 Subject: [PATCH] Check if service is currently enabled when checking if lighttpd may need to be disabled Signed-off-by: DL6ER --- automated install/basic-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 88369165..ea8e210e 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -2301,8 +2301,8 @@ copy_to_install_log() { } disableLighttpd() { - # Return early when lighttpd is not installed - if [[ ! -f /etc/lighttpd/lighttpd.conf ]]; then + # Return early when lighttpd is not active + if ! check_service_active lighttpd; then return fi