diff options
author | Karsten Hopp <karsten@redhat.com> | 2004-11-15 10:07:54 +0000 |
---|---|---|
committer | Karsten Hopp <karsten@redhat.com> | 2004-11-15 10:07:54 +0000 |
commit | f84d3193e665180c986fa2ff82610221114533b7 (patch) | |
tree | cf6c53f174f920a69b1a2c04fcbe12e9c7be955e /sysconfig/network-scripts | |
parent | ad6f6657dd4f4eb884740a85eb75789f87e13bdf (diff) | |
download | initscripts-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-functions | 3 |
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//=*/}" |