[PATCH 1/5] do not write default ifcfg files for wireless devices

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

 



---
 loader/net.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/loader/net.c b/loader/net.c
index ce9c813..e011222 100644
--- a/loader/net.c
+++ b/loader/net.c
@@ -1162,9 +1162,9 @@ int writeDisabledNetInfo(void) {
             return rc;
         }
         /* write disabled ifcfg-DEVICE file */
-        if ((rc = writeDisabledIfcfgFile(devs[i]->device)) != 0) {
-            return rc;
-        }
+        if (!is_wireless_device(devs[i]->device))
+            if ((rc = writeDisabledIfcfgFile(devs[i]->device)) != 0)
+                return rc;
     }
     return 0;
 }
-- 
1.7.4.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