From 0b84439c8c3d02b3530c1009aff40ceffb7f5dc7 Mon Sep 17 00:00:00 2001 From: Erik Troan Date: Mon, 6 Oct 1997 14:02:36 +0000 Subject: Removed pcmcia hacks for releases prior to RH 3.0.3 --- sysconfig/network-scripts/ifup | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'sysconfig/network-scripts/ifup') diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index 16f74129..f697e60a 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -48,25 +48,6 @@ if [ "$BOOTP" = "yes" ]; then BOOTPROTO=bootp fi -if [ -e /etc/sysconfig/pcmcia ]; then - . /etc/sysconfig/pcmcia -else - PCMCIA=no -fi - -if [ $DEVICETYPE = "eth" -a "foo${ISPCMCIA}" = "foo" ]; then - # this is a horrible hack to work around prior brokenness - if [ "$PCMCIA" = "yes" -a "foo$2" = "fooboot" ]; then - # cardmgr will start us up properly - exit 0; - fi -elif [ "${ISPCMCIA}" = "yes" -a "$2" = "boot" ]; then - # cardmgr will start us up properly - exit 0; -fi - -### end of horrible hack - OTHERSCRIPT="/etc/sysconfig/network-scripts/ifup-${DEVICETYPE}" if [ -x $OTHERSCRIPT ]; then -- cgit v1.2.1