diff options
author | Erik Troan <ewt@redhat.com> | 1997-10-06 14:02:36 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 1997-10-06 14:02:36 +0000 |
commit | 0b84439c8c3d02b3530c1009aff40ceffb7f5dc7 (patch) | |
tree | aed1d656e1a26ca6f610508d04e75c318ca66a00 | |
parent | 232fcde2f4b05f560b4d928a1e0f6299d4a214ca (diff) | |
download | initscripts-0b84439c8c3d02b3530c1009aff40ceffb7f5dc7.tar initscripts-0b84439c8c3d02b3530c1009aff40ceffb7f5dc7.tar.gz initscripts-0b84439c8c3d02b3530c1009aff40ceffb7f5dc7.tar.bz2 initscripts-0b84439c8c3d02b3530c1009aff40ceffb7f5dc7.tar.xz initscripts-0b84439c8c3d02b3530c1009aff40ceffb7f5dc7.zip |
Removed pcmcia hacks for releases prior to RH 3.0.3
-rwxr-xr-x | sysconfig/network-scripts/ifup | 19 |
1 files changed, 0 insertions, 19 deletions
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 |