aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--initscripts.spec5
-rw-r--r--sysconfig/network-scripts/network-functions5
2 files changed, 9 insertions, 1 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 86292287..f8657ced 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.95
+Version: 7.96
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
+* Thu Nov 11 2004 Karsten Hopp <karsten@redhat.de> 7.96-1
+- parse OPTIONS for QETH, CTC, LCS interfaces (#136256, mainframe)
+
* Sun Nov 7 2004 Bill Nottingham <notting@redhat.com> 7.95-1
- various translation updates
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
}