aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-10-26 16:04:32 -0400
committerBill Nottingham <notting@redhat.com>2009-10-26 16:04:32 -0400
commit9be11466392c3e285571a347b578681ddb3e230a (patch)
treecafd71bafa9bbfeecb6422d43577dac0b1e3ef3c /sysconfig
parent6433f9d59a9dd7eafc5b7ba9318728cfac58fae7 (diff)
downloadinitscripts-9be11466392c3e285571a347b578681ddb3e230a.tar
initscripts-9be11466392c3e285571a347b578681ddb3e230a.tar.gz
initscripts-9be11466392c3e285571a347b578681ddb3e230a.tar.bz2
initscripts-9be11466392c3e285571a347b578681ddb3e230a.tar.xz
initscripts-9be11466392c3e285571a347b578681ddb3e230a.zip
Remove IUCV support. (#507217)
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifup-iucv43
-rw-r--r--sysconfig/network-scripts/network-functions3
2 files changed, 0 insertions, 46 deletions
diff --git a/sysconfig/network-scripts/ifup-iucv b/sysconfig/network-scripts/ifup-iucv
deleted file mode 100755
index bce75aee..00000000
--- a/sysconfig/network-scripts/ifup-iucv
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/sh
-#
-# /etc/sysconfig/network-scripts/ifup-iucv
-#
-# the iucv network driver is a point-to-point driver on S/390 machines
-#
-# To get the iucv module to load automatically at boot, you will need to
-# add the following line to /etc/modprobe.conf:
-#
-# alias iucv0 netiucv
-#
-
-. /etc/sysconfig/network
-
-cd /etc/sysconfig/network-scripts
-. ./network-functions
-
-CONFIG=$1
-[ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG
-source_config
-
-if [ "$2" = "boot" -a "${ONBOOT}" = "no" ]
-then
- exit
-fi
-[ -n "${MTU}" ] && opts="${opts} mtu ${MTU}"
-
-echo "$PEERID" > /sys/bus/iucv/drivers/netiucv/connection 2>/dev/null
-
-ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${GATEWAY} netmask ${NETMASK}
-if [ "${NETWORK}" != "" ] ; then
- route add -host ${GATEWAY} metric 1 ${DEVICE}
-fi
-
-
-if [ "${GATEWAY}" != "" ]; then
- if [ "${GATEWAYDEV}" = "" -o "${GATEWAYDEV}" = "${DEVICE}" ]; then
- # set up default gateway
- route add default gw ${GATEWAY} ${METRIC:+metric $METRIC}
- fi
-fi
-
-/etc/sysconfig/network-scripts/ifup-post $1
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 43c86064..5212d2e0 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -98,9 +98,6 @@ source_config ()
CTC)
DEVICETYPE="ctc"
;;
- IUCV)
- DEVICETYPE="iucv"
- ;;
GRE | IPIP)
DEVICETYPE="tunnel"
;;