diff options
author | Bill Nottingham <notting@redhat.com> | 2009-12-10 15:58:57 -0500 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2014-01-15 14:56:05 +0100 |
commit | aed2a69bd1be1ce04804b5bf934c589f5815bed2 (patch) | |
tree | 8e6a17a75387fa6149d51cda010c8a90e4208786 /sysconfig/network-scripts | |
parent | 0d102a11d6c04864c1891a3d5fd9c17bfe4f3cc4 (diff) | |
download | initscripts-aed2a69bd1be1ce04804b5bf934c589f5815bed2.tar initscripts-aed2a69bd1be1ce04804b5bf934c589f5815bed2.tar.gz initscripts-aed2a69bd1be1ce04804b5bf934c589f5815bed2.tar.bz2 initscripts-aed2a69bd1be1ce04804b5bf934c589f5815bed2.tar.xz initscripts-aed2a69bd1be1ce04804b5bf934c589f5815bed2.zip |
Delete IPX support.
Conflicts:
rc.d/init.d/network
sysconfig.txt
sysconfig/network-scripts/ifup-ipx
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-x | sysconfig/network-scripts/ifup-eth | 4 | ||||
-rwxr-xr-x | sysconfig/network-scripts/ifup-ipx | 41 |
2 files changed, 0 insertions, 45 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index 8be5bff1..0606231a 100755 --- a/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth @@ -297,9 +297,5 @@ if [[ "${DHCPV6C}" = [Yy1]* ]] && [ -x /sbin/dhclient ]; then fi fi -if [ "${IPX}" = yes ]; then - /etc/sysconfig/network-scripts/ifup-ipx ${DEVICE} -fi - exec /etc/sysconfig/network-scripts/ifup-post ${CONFIG} ${2} diff --git a/sysconfig/network-scripts/ifup-ipx b/sysconfig/network-scripts/ifup-ipx deleted file mode 100755 index dbd294a8..00000000 --- a/sysconfig/network-scripts/ifup-ipx +++ /dev/null @@ -1,41 +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 - -# cannot configure IPX with non-existent utilities -[ -x /sbin/ipx_interface ] || exit 0 - -. /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=${frametype/./_} - 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 |