70
edits
Changes
Replacing eno with eth0
#<br>
# Purpose: Creates system info report<br>
#<br># USAGE: ./network-info.bash [full pathname to ifcfg-eno* eth0 file]<br>
<br>
if [ $USER != "root" ] # only runs if logged in as root<br>
if [ $# -ne 1 ]<br>
then<br>
echo "You need to provide the full pathname to ifcfg-eno eth0 file (eg eno1 or eno followed by numbers)" >&2<br> echo "USAGE: $0 [full pathname to ifcfg-eno* eth0 file]" >&2<br>
exit 0<br>
fi