aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Hopp <karsten@redhat.com>2004-08-30 10:29:57 +0000
committerKarsten Hopp <karsten@redhat.com>2004-08-30 10:29:57 +0000
commite7c446a4fac04f96e670227101865a88d11ee806 (patch)
tree52b3e2e6c83895d7e4904cd14281a2e29b6f5c4a
parent93b23614cfc63da7c28dc14bcaae43e8a34214b5 (diff)
downloadinitscripts-e7c446a4fac04f96e670227101865a88d11ee806.tar
initscripts-e7c446a4fac04f96e670227101865a88d11ee806.tar.gz
initscripts-e7c446a4fac04f96e670227101865a88d11ee806.tar.bz2
initscripts-e7c446a4fac04f96e670227101865a88d11ee806.tar.xz
initscripts-e7c446a4fac04f96e670227101865a88d11ee806.zip
LCS devices use portno instead if portnamer7-74
-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
}