aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorKarsten Hopp <karsten@redhat.com>2004-08-03 09:17:21 +0000
committerKarsten Hopp <karsten@redhat.com>2004-08-03 09:17:21 +0000
commit731a8688301856ebba6ab5be0b1628698da6b984 (patch)
tree6e0e0c34925ce9aa4a0e3bc18c4f41aaa051a086 /sysconfig
parent195ab8107940776e554bc8e46b3d96fe2cc59df5 (diff)
downloadinitscripts-731a8688301856ebba6ab5be0b1628698da6b984.tar
initscripts-731a8688301856ebba6ab5be0b1628698da6b984.tar.gz
initscripts-731a8688301856ebba6ab5be0b1628698da6b984.tar.bz2
initscripts-731a8688301856ebba6ab5be0b1628698da6b984.tar.xz
initscripts-731a8688301856ebba6ab5be0b1628698da6b984.zip
- write peerid into sysfs for IUCV devices (mainframe)r7-60
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifup-iucv2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup-iucv b/sysconfig/network-scripts/ifup-iucv
index 67137406..d169de48 100755
--- a/sysconfig/network-scripts/ifup-iucv
+++ b/sysconfig/network-scripts/ifup-iucv
@@ -23,6 +23,8 @@ then
fi
[ -n "${MTU}" ] && opts="${opts} mtu ${MTU}"
+echo "$PEERID" > /sys/bus/iucv/drivers/netiucv/connection 2>/dev/null
+
ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${REMIP} netmask ${NETMASK}
if [ "${NETWORK}" != "" ] ; then
route add -host ${REMIP} metric 1 ${DEVICE}