From 9be11466392c3e285571a347b578681ddb3e230a Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 26 Oct 2009 16:04:32 -0400 Subject: Remove IUCV support. (#507217) --- sysconfig/network-scripts/ifup-iucv | 43 ----------------------------- sysconfig/network-scripts/network-functions | 3 -- 2 files changed, 46 deletions(-) delete mode 100755 sysconfig/network-scripts/ifup-iucv 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" ;; -- cgit v1.2.1