aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorKarsten Hopp <karsten@redhat.com>2004-09-13 08:19:22 +0000
committerKarsten Hopp <karsten@redhat.com>2004-09-13 08:19:22 +0000
commit8432daf612406176f2fd1c4903387118063dbe30 (patch)
tree1f8d0be98b6e90a2e7ba16ac436bd4a5f382dbaf /sysconfig/network-scripts
parentb0ffbadad4b25a37d2994b1eafb09c305f1249be (diff)
downloadinitscripts-8432daf612406176f2fd1c4903387118063dbe30.tar
initscripts-8432daf612406176f2fd1c4903387118063dbe30.tar.gz
initscripts-8432daf612406176f2fd1c4903387118063dbe30.tar.bz2
initscripts-8432daf612406176f2fd1c4903387118063dbe30.tar.xz
initscripts-8432daf612406176f2fd1c4903387118063dbe30.zip
- same as ctc devices, move loading of sysconfig-network to top and allow overwriting of GATEWAY in device config
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifup-iucv4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup-iucv b/sysconfig/network-scripts/ifup-iucv
index c4ce80b9..1352eba2 100755
--- a/sysconfig/network-scripts/ifup-iucv
+++ b/sysconfig/network-scripts/ifup-iucv
@@ -10,6 +10,8 @@
# alias iucv0 netiucv
#
+. /etc/sysconfig/network
+
cd /etc/sysconfig/network-scripts
. network-functions
@@ -25,8 +27,6 @@ fi
echo "$PEERID" > /sys/bus/iucv/drivers/netiucv/connection 2>/dev/null
-. /etc/sysconfig/network
-
ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${GATEWAY} netmask ${NETMASK}
if [ "${NETWORK}" != "" ] ; then
route add -host ${GATEWAY} metric 1 ${DEVICE}