diff options
author | Radek Vykydal <rvykydal@redhat.com> | 2012-10-16 12:34:43 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2012-10-16 14:43:13 +0200 |
commit | cbd60fcaaf4bec48015d9deca365fd67e501d891 (patch) | |
tree | 0c2129ce8e16a713955f5741102f6bc4fd9617fb /modules.d/45ifcfg | |
parent | 28a88b688644c7609cfd935e52cc4f2459a8f403 (diff) | |
download | dracut-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-x | modules.d/45ifcfg/write-ifcfg.sh | 1 |
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 |