bstinson / centos / t_functional

Forked from centos/t_functional 3 years ago
Clone

Blame tests/p_initscripts/initscripts_centos_brand_rcsysinit.sh

Athmane Madjoudj df052c
#!/bin/sh
Athmane Madjoudj df052c
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj df052c
Athmane Madjoudj df052c
t_Log "Running $0 - initscripts CentOS branding "
Athmane Madjoudj df052c
e00973
if [ "$centos_ver" -gt "5" ] ; then
e00973
  t_Log "Test not required for CentOS $centos_ver -> SKIP"
e00973
  exit 0
Athmane Madjoudj df052c
else
e00973
  grep "CentOS" /etc/rc.sysinit > /dev/null 2>&1
Athmane Madjoudj df052c
fi
Athmane Madjoudj df052c
Athmane Madjoudj df052c
t_CheckExitStatus $?