Blame tests/p_initscripts/initscripts_centos_brand_rcsysinit
|
Athmane Madjoudj |
e526f9 |
#!/bin/sh
|
|
Athmane Madjoudj |
e526f9 |
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
|
Athmane Madjoudj |
e526f9 |
|
|
Karanbir Singh |
106bcf |
t_Log "Running $0 - initscripts CentOS branding "
|
|
Athmane Madjoudj |
e526f9 |
|
|
Athmane Madjoudj |
fc646d |
if (t_GetPkgRel basesystem | grep -q el6)
|
|
Athmane Madjoudj |
fc646d |
then
|
|
Athmane Madjoudj |
fc646d |
t_Log "Test not required for CentOS 6.x"
|
|
Athmane Madjoudj |
fc646d |
exit 0
|
|
Athmane Madjoudj |
fc646d |
else
|
|
Athmane Madjoudj |
fc646d |
grep "CentOS" /etc/rc.sysinit > /dev/null 2>&1
|
|
Athmane Madjoudj |
fc646d |
fi
|
|
Athmane Madjoudj |
e526f9 |
|
|
Athmane Madjoudj |
e526f9 |
t_CheckExitStatus $?
|