Make SSH service check distribution-specific (only sshd on openSUSE)
This commit is contained in:
@@ -298,7 +298,17 @@ perform_health_check() {
|
|||||||
|
|
||||||
echo "=== Service Status ==="
|
echo "=== Service Status ==="
|
||||||
# Check services based on what was configured/installed
|
# 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
|
# Samba services
|
||||||
if [[ "${INSTALL_SAMBA:-true}" == "true" ]]; then
|
if [[ "${INSTALL_SAMBA:-true}" == "true" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user