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.
13 lines
274 B
13 lines
274 B
12 months ago
|
#!/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
|