From f84d3193e665180c986fa2ff82610221114533b7 Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Mon, 15 Nov 2004 10:07:54 +0000 Subject: - configure the CTC protocol if CTCPROT is set (mainframe) --- initscripts.spec | 5 ++++- sysconfig/network-scripts/network-functions | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 7.97-1 +- configure CTC protocol if CTCPROT is set (#133088) + * Thu Nov 11 2004 Karsten Hopp 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//=*/}" -- cgit v1.2.1