diff options
author | Karsten Hopp <karsten@redhat.com> | 2004-08-26 15:04:43 +0000 |
---|---|---|
committer | Karsten Hopp <karsten@redhat.com> | 2004-08-26 15:04:43 +0000 |
commit | b96eba57390d90ffb29de1a9229c71b3a9ed90e5 (patch) | |
tree | 06903b6edf06c5bba6194ac663580c99600e3c6e /sysconfig/network-scripts/ifup-iucv | |
parent | 6e3d6ab7410829763f6826e05d2e50f1a5055059 (diff) | |
download | initscripts-b96eba57390d90ffb29de1a9229c71b3a9ed90e5.tar initscripts-b96eba57390d90ffb29de1a9229c71b3a9ed90e5.tar.gz initscripts-b96eba57390d90ffb29de1a9229c71b3a9ed90e5.tar.bz2 initscripts-b96eba57390d90ffb29de1a9229c71b3a9ed90e5.tar.xz initscripts-b96eba57390d90ffb29de1a9229c71b3a9ed90e5.zip |
- ifcfg-iucv/ctc: drop REMIP and use GATEWAY instead
Diffstat (limited to 'sysconfig/network-scripts/ifup-iucv')
-rwxr-xr-x | sysconfig/network-scripts/ifup-iucv | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/ifup-iucv b/sysconfig/network-scripts/ifup-iucv index d169de48..c4ce80b9 100755 --- a/sysconfig/network-scripts/ifup-iucv +++ b/sysconfig/network-scripts/ifup-iucv @@ -25,12 +25,13 @@ fi echo "$PEERID" > /sys/bus/iucv/drivers/netiucv/connection 2>/dev/null -ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${REMIP} netmask ${NETMASK} +. /etc/sysconfig/network + +ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${GATEWAY} netmask ${NETMASK} if [ "${NETWORK}" != "" ] ; then - route add -host ${REMIP} metric 1 ${DEVICE} + route add -host ${GATEWAY} metric 1 ${DEVICE} fi -. /etc/sysconfig/network if [ "${GATEWAY}" != "" ]; then if [ "${GATEWAYDEV}" = "" -o "${GATEWAYDEV}" = "${DEVICE}" ]; then |