From 9eb787938369cd31fed755c71069dd986b224bc9 Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Thu, 11 Nov 2004 10:33:09 +0000 Subject: - parse OPTIONS for QETH, CTC and LCS (#136256, mainframe) --- initscripts.spec | 5 ++++- sysconfig/network-scripts/network-functions | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/initscripts.spec b/initscripts.spec index cc206f2f..252bbd85 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.93.8.EL +Version: 7.93.9.EL 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 7.93.9.EL-1 +- parse OPTIONS for QETH, CTC and LCS (#136256, mainframe) + * Tue Nov 9 2004 Bill Nottingham 7.93.8.EL-1 - fix bonding + dhcp (#134787) diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index 249978a6..c8321c20 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -346,6 +346,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 } -- cgit