You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QA/tests/p_network/networking_enabled_test.sh

13 lines
274 B

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