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

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



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


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