From f7478bc9e04cdec5450ec5880d5b5261a3fc5e10 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Tue, 14 Feb 2017 20:15:00 +0100 Subject: [PATCH] Unique sort of systemctl unit files --- 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 566303d3..a943fccf 100644 --- a/include/tests_boot_services +++ b/include/tests_boot_services @@ -546,7 +546,7 @@ # Services at boot LogText "Searching for enabled services (systemctl services only)" - FIND=$(${SYSTEMCTLBINARY} list-unit-files --type=service | ${AWKBINARY} '{ if ($2=="enabled") { print $1 } }' | ${AWKBINARY} -F. '{ print $1 }') + FIND=$(${SYSTEMCTLBINARY} list-unit-files --type=service | ${SORTBINARY} -u | ${AWKBINARY} '{ if ($2=="enabled") { print $1 } }' | ${AWKBINARY} -F. '{ print $1 }') N=0 Report "boot_service_tool=systemctl" for I in ${FIND}; do