Blame tests/p_network/networking_enabled_test.sh

Athmane Madjoudj a3e79f
#!/bin/sh
Athmane Madjoudj a3e79f
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj a3e79f
Athmane Madjoudj a3e79f
t_Log "Running $0 - Check if networking is enabled."
Athmane Madjoudj a3e79f
d033e2
if [ "$centos_ver" = "7" ] ; then
d033e2
 t_Log "CentOS $centos_ver -> SKIP"
d033e2
 exit 0
d033e2
else
d033e2
 grep -Eqi "NETWORKING=.*yes" /etc/sysconfig/network
d033e2
 t_CheckExitStatus $?
d033e2
fi