aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ipx
diff options
context:
space:
mode:
authorPreston Brown <pbrown@redhat.com>2001-05-11 16:37:56 +0000
committerPreston Brown <pbrown@redhat.com>2001-05-11 16:37:56 +0000
commitaca0c76f6efe70cad74045676fc12d45312998e0 (patch)
treeba28873c4c15ebc7e273e11c39f7a3410ff94f4c /sysconfig/network-scripts/ifup-ipx
parent2ec6a84c6b0ccaad0d624277927f23c22168638c (diff)
downloadinitscripts-aca0c76f6efe70cad74045676fc12d45312998e0.tar
initscripts-aca0c76f6efe70cad74045676fc12d45312998e0.tar.gz
initscripts-aca0c76f6efe70cad74045676fc12d45312998e0.tar.bz2
initscripts-aca0c76f6efe70cad74045676fc12d45312998e0.tar.xz
initscripts-aca0c76f6efe70cad74045676fc12d45312998e0.zip
gone. We don't support IPX anymore
Diffstat (limited to 'sysconfig/network-scripts/ifup-ipx')
-rwxr-xr-xsysconfig/network-scripts/ifup-ipx44
1 files changed, 0 insertions, 44 deletions
diff --git a/sysconfig/network-scripts/ifup-ipx b/sysconfig/network-scripts/ifup-ipx
deleted file mode 100755
index 4d03d833..00000000
--- a/sysconfig/network-scripts/ifup-ipx
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/bash
-# configures IPX on $1 if appropriate
-
-PATH=/sbin:/usr/sbin:/bin:/usr/bin
-
-if [ "$1" = "" ]; then
- echo $"usage: $0 <net-device>"
- exit 1
-fi
-
-if [ ! -x /sbin/ipx_interface ] ; then
- # cannot configure IPX with non-existant utilities
- exit 0
-fi
-
-. /etc/sysconfig/network
-
-case $IPX in yes|true) ;; *) exit 0 ;; esac
-
-cd /etc/sysconfig/network-scripts
-. network-functions
-
-CONFIG=$1
-[ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG
-source_config
-
-for frametype in 802.2 802.3 ETHERII SNAP ; do
- framename=$(echo $frametype | sed 's/\./_/')
- eval ACT=\$IPXACTIVE_$framename
- case $ACT in
- yes|true)
- eval PRIM=\$IPXPRIMARY_$framename
- case $PRIM in
- yes|true) primary=-p ;;
- *) primary= ;;
- esac
- eval NUM=\$IPXNETNUM_$framename
- /sbin/ipx_interface add $primary $1 $frametype $NUM
- ;;
- esac
-done
-
-exit 0
-