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

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

 



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@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