From d9f1f7c3ccd04a64a74fd5082160c0f6d511284a Mon Sep 17 00:00:00 2001 From: Rene Diepstraten Date: Dec 29 2013 19:27:08 +0000 Subject: p_chkconfig: auditd is started by systemd on el7. Test for network service instead --- diff --git a/tests/p_chkconfig/chkconfig_list_services.sh b/tests/p_chkconfig/chkconfig_list_services.sh index 895fdb8..7d4716e 100755 --- a/tests/p_chkconfig/chkconfig_list_services.sh +++ b/tests/p_chkconfig/chkconfig_list_services.sh @@ -1,10 +1,12 @@ #!/bin/bash # Author: Athmane Madjoudj +# Rene Diepstraten t_Log "Running $0 - check if chkconfig can list a service status" -# auditd is used as example because it's standard with minimal install -chkconfig --list auditd | grep -q '3:on' +# network is used as example because it's standard with minimal install + +chkconfig --list network | grep -q '3:on' t_CheckExitStatus $?