aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
diff options
context:
space:
mode:
authorKarsten Hopp <karsten@redhat.com>2004-11-11 15:06:37 +0000
committerKarsten Hopp <karsten@redhat.com>2004-11-11 15:06:37 +0000
commiteca02b6058cbb03e19699e5bb412eba5ec52bed8 (patch)
tree8f3d0a91192f8d7bfb3d27a06f83e117fe89885d /sysconfig/network-scripts/network-functions
parent3c5fc4f5ea168b53106810ac734e1bbe1b98e657 (diff)
downloadinitscripts-eca02b6058cbb03e19699e5bb412eba5ec52bed8.tar
initscripts-eca02b6058cbb03e19699e5bb412eba5ec52bed8.tar.gz
initscripts-eca02b6058cbb03e19699e5bb412eba5ec52bed8.tar.bz2
initscripts-eca02b6058cbb03e19699e5bb412eba5ec52bed8.tar.xz
initscripts-eca02b6058cbb03e19699e5bb412eba5ec52bed8.zip
- parse OPTIONS for QETH, CTC, LCS interfaces (#136256, mainframe)r7-96
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r--sysconfig/network-scripts/network-functions5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 5b9429d2..a774031a 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -345,6 +345,11 @@ configure_ccwgroup_device ()
[ -e $SYSDIR/portname ] && echo "$PORTNAME" > $SYSDIR/portname
fi
fi
+ if [ -n "$OPTIONS" ]; then
+ for i in $OPTIONS; do
+ echo "${i//*=/}" > "$SYSDIR/${i//=*/}"
+ done
+ fi
[ -e $SYSDIR/online ] && echo 1 > $SYSDIR/online
}