]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Do not overwrite ifcfg files generated by Anaconda kickstart (#865192)
authorRadek Vykydal <rvykydal@redhat.com>
Tue, 16 Oct 2012 10:34:43 +0000 (12:34 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 16 Oct 2012 12:43:13 +0000 (14:43 +0200)
modules.d/45ifcfg/write-ifcfg.sh

index 8cc3796523bb0a54d2b9ff4d659707f9c1614ffc..ae37358f56b2eb9b0da2e927ca547a4c20b30aef 100755 (executable)
@@ -85,6 +85,7 @@ print_s390() {
 
 
 for netif in $IFACES ; do
+    [ -e /tmp/ifcfg/ifcfg-$netif ] && continue
     # bridge?
     unset bridge
     unset bond