diff options
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/network.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm index 50f4d3467..14e4575aa 100644 --- a/perl-install/network/network.pm +++ b/perl-install/network/network.pm @@ -221,7 +221,7 @@ sub write_wireless_conf { 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; + substInFile { $_ = '' if /^DEVICE=/ } $wireless_file; } sub add2hosts { |