Displaying 1 result from an estimated 1 matches for "eth0f".
Did you mean:
eth0
2010 Dec 28
1
Kickstart Network Configuration Issues
...onfig script
cat << EOF > /bin/netconfig
#!/bin/bash
# check if user is root
if [[ \$EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
# run system-config-network-tui
/usr/sbin/system-config-network-tui
# set variables
eth0f="/etc/sysconfig/network-scripts/ifcfg-eth0"
eth1f="/etc/sysconfig/network-scripts/ifcfg-eth1"
netcfg="/etc/sysconfig/network"
# turn on eth1 if it has an address, remove gateway.. shouldn't be set here
# anyways
if [ -f "\$eth1f" ]; then
i...