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
Pablo Greco e4ab1f
if [ "$centos_ver" -ge 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