diff options
author | Karsten Hopp <karsten@redhat.de> | 2004-07-23 10:48:25 +0000 |
---|---|---|
committer | Karsten Hopp <karsten@redhat.de> | 2004-07-23 10:48:25 +0000 |
commit | 73ae9a16816449e8bc643f93de3c6305821e043a (patch) | |
tree | 0975a98d919cfcc414513d34f45c322d9ecdd1b6 | |
parent | 5974aaed4797a4dcf581a654c78406cbac260e13 (diff) | |
download | anaconda-73ae9a16816449e8bc643f93de3c6305821e043a.tar.gz anaconda-73ae9a16816449e8bc643f93de3c6305821e043a.tar.xz anaconda-73ae9a16816449e8bc643f93de3c6305821e043a.zip |
- don't write 'QETH=' without a value to netinfo file, this seems to screw up
the qeth workaround in network.py
- make sure all devices have an alias in modprobe.conf
-rw-r--r-- | loader2/linuxrc.s390 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/loader2/linuxrc.s390 b/loader2/linuxrc.s390 index 643b1ae49..5103b1229 100644 --- a/loader2/linuxrc.s390 +++ b/loader2/linuxrc.s390 @@ -271,6 +271,7 @@ if [ ":$NETTYPE" = ":ctc" -o ":$NETTYPE" = ":escon" ]; then insmod ctc$LO setupdevice ifconfig $DEVICE $IPADDR $MMTU pointopoint $GATEWAY + echo "alias $DEVICE ctc" >> /tmp/modprobe.conf elif [ ":$NETTYPE" = ":iucv" ]; then insmod fsm$LO insmod iucv$LO @@ -279,6 +280,7 @@ elif [ ":$NETTYPE" = ":iucv" ]; then if [ -n "$IUCV" ]; then echo "options netiucv $IUCV" >> /tmp/modprobe.conf fi + echo "alias $DEVICE iucv" >> /tmp/modprobe.conf elif [ "$NETTYPE" = "lcs" -o "$NETTYPE" = "tr" ]; then insmod ccwgroup$LO insmod cu3088$LO @@ -392,8 +394,8 @@ BROADCAST=$BROADCAST HOSTNAME=$HOSTNAME MTU=$MTU SUBCHANNELS=$SUBCHANNELS -QETH=$QETH EOF +[ "$QETH" != "" ] && echo "QETH=$QETH" >> /tmp/netinfo # so that the vars get propagated into the sshd shells mkdir /.ssh |