aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
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 /sysconfig/network-scripts
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
Diffstat (limited to 'sysconfig/network-scripts')
-rw-r--r--sysconfig/network-scripts/network-functions3
1 files changed, 3 insertions, 0 deletions
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//=*/}"