summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/network.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 3770aab40..50f4d3467 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -220,6 +220,8 @@ sub write_wireless_conf {
my ($ssid, $ifcfg) = @_;
my $wireless_file = "$::prefix/etc/sysconfig/network-scripts/wireless.d/$ssid";
write_interface_settings($ifcfg, $wireless_file);
+ # FIXME: write only DHCP/IP settings here
+ substInFile { undef $_ if /^DEVICE=/ } $wireless_file;
}
sub add2hosts {