aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--initscripts.spec5
-rwxr-xr-xsysconfig/network-scripts/ifup-iucv2
2 files changed, 6 insertions, 1 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 1d2d6e41..897dc756 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -1,6 +1,6 @@
Summary: The inittab file and the /etc/init.d scripts.
Name: initscripts
-Version: 7.59
+Version: 7.60
License: GPL
Group: System Environment/Base
Release: 1
@@ -250,6 +250,9 @@ rm -rf $RPM_BUILD_ROOT
%ghost %attr(0664,root,utmp) /var/run/utmp
%changelog
+* Tue Aug 03 2004 Karsten Hopp <karsten@redhat.de> 7.60-1
+- write peerid into sysfs for IUCV devices (mainframe)
+
* Fri Jul 2 2004 Bill Nottingham <notting@redhat.com> 7.59-1
- set context on ICE directory after making it (#127099, <concert@europe.com>)
- don't mount GFS filesystems in rc.sysinit
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}