aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-iucv
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifup-iucv')
-rwxr-xr-xsysconfig/network-scripts/ifup-iucv7
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