FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Development

 
 
LinkBack Thread Tools
 
Old 08-25-2011, 05:34 PM
David Cantrell
 
Default Rescan for netdevs after clearing blacklist in linuxrc.s390 (#733299)

When one is running installation with the "cio_ignore=all,!0.0.0009"
kernel parameter and CMS config file is not used to configure devices,
linuxrc.s390 offers the choice to clear blacklist. But after clearing
the blacklist, user has to manually enter all values to configure the
device. This patch rescans for network devices after clearing the
blacklist.

Patch from Jan Stodola <jstodola@redhat.com>
---
loader/linuxrc.s390 | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/loader/linuxrc.s390 b/loader/linuxrc.s390
index d64009b..9552c0c 100644
--- a/loader/linuxrc.s390
+++ b/loader/linuxrc.s390
@@ -460,7 +460,11 @@ function dialog_network_table() {
fi
[ "$choice" = "m" ] && break
[ "$choice" = "r" ] && continue 2
- [ "$cio_wc_bytes" != "0" -a "$choice" = "c" ] && break
+ if [ "$cio_wc_bytes" != "0" -a "$choice" = "c" ]; then
+ echo $"Clearing device blacklist..."
+ cio_ignore -R || echo $"Device blacklist could not be cleared"
+ continue 2
+ fi
[[ "$choice" =~ ^[[:digit:]]+$ ]]
case $? in
0)
@@ -479,10 +483,6 @@ function dialog_network_table() {
;;
esac
done
- if [ "$choice" = "c" ]; then
- echo $"Clearing device blacklist..."
- cio_ignore -R || echo $"Device blacklist could not be cleared"
- fi
[ "$choice" = "m" ] && break
# finally extract config info from selected item
# array nettable starts at index zero, user input starts at index one
--
1.7.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 12:04 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org