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 > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 06-01-2010, 12:01 AM
Steffen Maier
 
Default Remove long deprecated writing of alias for network in linuxrc.s390

Udev automatically loads device drivers by means of aliases
in the driver modules and corresponding events on the buses
so we don't need to write alias to modprobe.conf.
---
loader/linuxrc.s390 | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/loader/linuxrc.s390 b/loader/linuxrc.s390
index 99e5192..a456191 100644
--- a/loader/linuxrc.s390
+++ b/loader/linuxrc.s390
@@ -725,19 +725,6 @@ function syntax_check_domainname() {
return 1
}

-function modprobe_alias() {
- if [ ":$NETTYPE" = ":ctc" ]; then
- echo "alias $DEVICE ctcm" >> /tmp/modprobe.conf
- else
- echo "alias $DEVICE $NETTYPE" >> /tmp/modprobe.conf
- fi
- if [ $? -ne 0 ]; then
- echo $"Could not append alias for network device $DEVICE to modprobe.conf"
- return 1
- fi
- return 0
-}
-
function disable_ipv6_autoconf() {
sysctl -w net.ipv6.conf.all.accept_ra=0 > /dev/null
sysctl -w net.ipv6.conf.all.accept_redirects=0 > /dev/null
@@ -2921,7 +2908,6 @@ while : ; do
fi
fi

- modprobe_alias
do_dns
[ -n "$DNS" ] && do_searchdns

--
1.7.0.4


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 06-02-2010, 03:14 PM
David Cantrell
 
Default Remove long deprecated writing of alias for network in linuxrc.s390

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Absolutely ack.

On Tue, 1 Jun 2010, Steffen Maier wrote:


Udev automatically loads device drivers by means of aliases
in the driver modules and corresponding events on the buses
so we don't need to write alias to modprobe.conf.
---
loader/linuxrc.s390 | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/loader/linuxrc.s390 b/loader/linuxrc.s390
index 99e5192..a456191 100644
--- a/loader/linuxrc.s390
+++ b/loader/linuxrc.s390
@@ -725,19 +725,6 @@ function syntax_check_domainname() {
return 1
}

-function modprobe_alias() {
- if [ ":$NETTYPE" = ":ctc" ]; then
- echo "alias $DEVICE ctcm" >> /tmp/modprobe.conf
- else
- echo "alias $DEVICE $NETTYPE" >> /tmp/modprobe.conf
- fi
- if [ $? -ne 0 ]; then
- echo $"Could not append alias for network device $DEVICE to modprobe.conf"
- return 1
- fi
- return 0
-}
-
function disable_ipv6_autoconf() {
sysctl -w net.ipv6.conf.all.accept_ra=0 > /dev/null
sysctl -w net.ipv6.conf.all.accept_redirects=0 > /dev/null
@@ -2921,7 +2908,6 @@ while : ; do
fi
fi

- modprobe_alias
do_dns
[ -n "$DNS" ] && do_searchdns




- --
David Cantrell <dcantrell@redhat.com>

Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAkwGdTwACgkQ5hsjjIy1VknAjACeP6WDilH/d12ODeYnnp/ZzKMS
cr8AnA2lP2/oVwoe22D9t8u/Zk3mHwo9
=Igrq
-----END PGP SIGNATURE-----

_______________________________________________
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 01:30 PM.

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