13,420
edits
Changes
no edit summary
#<br>
# Purpose: Creates system info report<br>
#<br># USAGE: ./network-info.bash [full pathname to ifcfg-eth0 file-pathname]<br>
<br>
if [ $USER != "root" ] # only runs if logged in as root<br>
if [ $# -ne 1 ]<br>
then<br>
echo "You need to provide a the full pathname to ifcfg-eth0 file-pathname" >&2<br> echo "USAGE: $0 [full pathname to ifcfg-eth0 file-path-name]" >&2<br>
exit 0<br>
fi