From aba1d530d3996b95b585394af5a195ce0374ece9 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Wed, 29 Jan 2025 14:22:59 +0100 Subject: [PATCH] Update tests_boot_services As it is not a directory, we need to test if it is a file with executable bit set. --- include/tests_boot_services | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tests_boot_services b/include/tests_boot_services index ed54b319..8b5b4b4c 100644 --- a/include/tests_boot_services +++ b/include/tests_boot_services @@ -147,7 +147,7 @@ fi ;; "Solaris") - if [ -d "${ROOTDIR}usr/bin/svcs" ]; then + if [ -x "${ROOTDIR}usr/bin/svcs" ]; then SERVICE_MANAGER="SMF (svcs)" elif [ -d "${ROOTDIR}etc/init.d" ]; then SERVICE_MANAGER="SysV Init"