aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-post
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-06-24 03:10:47 +0000
committerBill Nottingham <notting@redhat.com>2003-06-24 03:10:47 +0000
commita9405effe269ad57346b215b8c881189333b190f (patch)
tree22557995418230a1c548d5d4fb48403171f5e1f3 /sysconfig/network-scripts/ifup-post
parent4de90482aada4f5c152d6faa35066723ab0544ae (diff)
downloadinitscripts-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-post')
-rwxr-xr-xsysconfig/network-scripts/ifup-post8
1 files changed, 0 insertions, 8 deletions
diff --git a/sysconfig/network-scripts/ifup-post b/sysconfig/network-scripts/ifup-post
index 39dbad59..401d1e8c 100755
--- a/sysconfig/network-scripts/ifup-post
+++ b/sysconfig/network-scripts/ifup-post
@@ -8,14 +8,6 @@ cd /etc/sysconfig/network-scripts
CONFIG=$1
source_config
-DEVICETYPE=`echo $DEVICE | sed "s/[0-9]*$//"`
-REALDEVICE=`echo $DEVICE | sed 's/:.*//g'`
-if echo $DEVICE | grep -q ':' ; then
- ISALIAS=yes
-else
- ISALIAS=no
-fi
-
if [ "$ISALIAS" = no ] ; then
/etc/sysconfig/network-scripts/ifup-aliases ${DEVICE} ${CONFIG}
fi