diff options
author | Bill Nottingham <notting@redhat.com> | 2003-06-24 03:10:47 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-06-24 03:10:47 +0000 |
commit | a9405effe269ad57346b215b8c881189333b190f (patch) | |
tree | 22557995418230a1c548d5d4fb48403171f5e1f3 /sysconfig/network-scripts/ifup | |
parent | 4de90482aada4f5c152d6faa35066723ab0544ae (diff) | |
download | initscripts-a9405effe269ad57346b215b8c881189333b190f.tar initscripts-a9405effe269ad57346b215b8c881189333b190f.tar.gz initscripts-a9405effe269ad57346b215b8c881189333b190f.tar.bz2 initscripts-a9405effe269ad57346b215b8c881189333b190f.tar.xz initscripts-a9405effe269ad57346b215b8c881189333b190f.zip |
support randomly named network devices, part 1
- use nameif
- determine device type from file first, and from device name as a
fallback
- ditto for aliases
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-x | sysconfig/network-scripts/ifup | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index 4cb7fd67..f20af64d 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -53,15 +53,6 @@ then exit 0 fi -# figure out more about what we are dealing with -DEVICETYPE=`echo ${DEVICE} | sed "s/[0-9]*$//"` -[ -z "$REALDEVICE" ] && REALDEVICE=${DEVICE%%:*} -if [ "${DEVICE}" != "${REALDEVICE}" ]; then - ISALIAS=yes -else - ISALIAS=no -fi - # Ethernet 802.1Q VLAN support if [ -x /sbin/vconfig -a "${VLAN}" = "yes" ]; then if echo ${DEVICE} | LANG=C egrep -v '(:)' | LANG=C egrep -q 'eth[0-9][0-9]*\.[0-9][0-9]?[0-9]?[0-9]?' ; then |