Make SSH service check distribution-specific (only sshd on openSUSE)

This commit is contained in:
Mărcziem ™
2025-10-06 11:57:31 +02:00
parent 47a75cec25
commit 0837b37569

View File

@@ -298,7 +298,17 @@ perform_health_check() {
echo "=== Service Status ==="
# Check services based on what was configured/installed
local services_to_check=("ssh" "sshd")
local services_to_check=()
# SSH services (distribution-specific)
case $DISTRO in
opensuse)
services_to_check+=("sshd")
;;
*)
services_to_check+=("ssh" "sshd")
;;
esac
# Samba services
if [[ "${INSTALL_SAMBA:-true}" == "true" ]]; then