aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--initscripts.spec5
-rw-r--r--sysconfig/network-scripts/network-functions9
2 files changed, 11 insertions, 3 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 7362901f..48ec9082 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.73
+Version: 7.74
License: GPL
Group: System Environment/Base
Release: 1
@@ -252,6 +252,9 @@ rm -rf $RPM_BUILD_ROOT
%ghost %attr(0664,root,utmp) /var/run/utmp
%changelog
+* Mon Aug 30 2004 Karsten Hopp <karsten@redhat.de> 7.74-1
+- fix support for LCS portnumbers (mainframe)
+
* Fri Aug 27 2004 Jason Vas Dias <jvdias@redhat.com> 7.73-1
- Add support for running the DHCPv6 client to ifup
- (new DHCPV6C=yes/no ifcfg-${IF} variable) + update sysconfig.txt
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 45a45bd2..5724e9ba 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -352,8 +352,13 @@ configure_ccwgroup_device ()
SYSDIR="$DIR/${SUBCHANNELS//,*/}"
[ ! -e $DIR/group ] && return
echo "$SUBCHANNELS" > $DIR/group
- [ -n "$PORTNAME" -a -e $SYSDIR/portname ] && \
- echo "$PORTNAME" > $SYSDIR/portname
+ if [ -n "$PORTNAME" -a -e $SYSDIR/portname ]; then
+ if [ "$TYPE" = "LCS" ]; then
+ [ -e $SYSDIR/portno ] && echo "$PORTNAME" > $SYSDIR/portno
+ else
+ [ -e $SYSDIR/portname ] && echo "$PORTNAME" > $SYSDIR/portname
+ fi
+ fi
[ -e $SYSDIR/online ] && echo 1 > $SYSDIR/online
}