aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Hopp <karsten@redhat.com>2004-11-15 10:05:13 +0000
committerKarsten Hopp <karsten@redhat.com>2004-11-15 10:05:13 +0000
commit07283abb5b381b2e638e3753eed3ba9c5656de68 (patch)
treea67cf163aa3866f484d7c77fc384e7d758ecf9dd
parentef257fcc5a54a494d323695b7f385d47760aadd7 (diff)
downloadinitscripts-r7-93-10-EL.tar
initscripts-r7-93-10-EL.tar.gz
initscripts-r7-93-10-EL.tar.bz2
initscripts-r7-93-10-EL.tar.xz
initscripts-r7-93-10-EL.zip
- configure the CTC protocol if CTCPROT is set (mainframe)r7-93-10-EL
-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 252bbd85..cbfd8469 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.93.9.EL
+Version: 7.93.10.EL
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.93.10.EL-1
+- configure the CTC protocol if CTCPROT is set (mainframe)
+
* Thu Nov 11 2004 Karsten Hopp <karsten@redhat.de> 7.93.9.EL-1
- parse OPTIONS for QETH, CTC and LCS (#136256, mainframe)
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 03c0da16..83779448 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -346,6 +346,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//=*/}"