summaryrefslogtreecommitdiff
path: root/modules.d/45ifcfg
diff options
context:
space:
mode:
authorRadek Vykydal <rvykydal@redhat.com>2012-10-16 12:34:43 +0200
committerHarald Hoyer <harald@redhat.com>2012-10-16 14:43:13 +0200
commitcbd60fcaaf4bec48015d9deca365fd67e501d891 (patch)
tree0c2129ce8e16a713955f5741102f6bc4fd9617fb /modules.d/45ifcfg
parent28a88b688644c7609cfd935e52cc4f2459a8f403 (diff)
downloaddracut-cbd60fcaaf4bec48015d9deca365fd67e501d891.tar.gz
dracut-cbd60fcaaf4bec48015d9deca365fd67e501d891.tar.bz2
dracut-cbd60fcaaf4bec48015d9deca365fd67e501d891.zip
Do not overwrite ifcfg files generated by Anaconda kickstart (#865192)
Diffstat (limited to 'modules.d/45ifcfg')
-rwxr-xr-xmodules.d/45ifcfg/write-ifcfg.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules.d/45ifcfg/write-ifcfg.sh b/modules.d/45ifcfg/write-ifcfg.sh
index 8cc37965..ae37358f 100755
--- a/modules.d/45ifcfg/write-ifcfg.sh
+++ b/modules.d/45ifcfg/write-ifcfg.sh
@@ -85,6 +85,7 @@ print_s390() {
for netif in $IFACES ; do
+ [ -e /tmp/ifcfg/ifcfg-$netif ] && continue
# bridge?
unset bridge
unset bond