aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Hopp <karsten@redhat.com>2004-11-15 10:07:54 +0000
committerKarsten Hopp <karsten@redhat.com>2004-11-15 10:07:54 +0000
commitf84d3193e665180c986fa2ff82610221114533b7 (patch)
treecf6c53f174f920a69b1a2c04fcbe12e9c7be955e
parentad6f6657dd4f4eb884740a85eb75789f87e13bdf (diff)
downloadinitscripts-f84d3193e665180c986fa2ff82610221114533b7.tar
initscripts-f84d3193e665180c986fa2ff82610221114533b7.tar.gz
initscripts-f84d3193e665180c986fa2ff82610221114533b7.tar.bz2
initscripts-f84d3193e665180c986fa2ff82610221114533b7.tar.xz
initscripts-f84d3193e665180c986fa2ff82610221114533b7.zip
- configure the CTC protocol if CTCPROT is set (mainframe)r7-97
-rw-r--r--initscripts.spec5
-rw-r--r--sysconfig/network-scripts/network-functions3
2 files changed, 7 insertions, 1 deletions
diff --git a/initscripts.spec b/initscripts.spec
index f8657ced..28c1423b 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.96
+Version: 7.97
License: GPL
Group: System Environment/Base
Release: 1
@@ -206,6 +206,9 @@ rm -rf $RPM_BUILD_ROOT
%ghost %attr(0664,root,utmp) /var/run/utmp
%changelog
+* Mon Nov 15 2004 Karsten Hopp <karsten@redhat.de> 7.97-1
+- configure CTC protocol if CTCPROT is set (#133088)
+
* Thu Nov 11 2004 Karsten Hopp <karsten@redhat.de> 7.96-1
- parse OPTIONS for QETH, CTC, LCS interfaces (#136256, mainframe)
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 05116839..44f0fab8 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -345,6 +345,9 @@ configure_ccwgroup_device ()
[ -e $SYSDIR/portname ] && echo "$PORTNAME" > $SYSDIR/portname
fi
fi
+ if [ "$NETTYPE" = "ctc" -a -n "$CTCPROT" ]; then
+ echo "$CTCPROT" > $SYSDIR/protocol
+ fi
if [ -n "$OPTIONS" ]; then
for i in $OPTIONS; do
echo "${i//*=/}" > "$SYSDIR/${i//=*/}"