Re: [master] Remove long deprecated writing of alias for network in linuxrc.s390

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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@xxxxxxxxxx>
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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux