summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-11-03 17:40:05 +0000
committerOlivier Blin <oblin@mandriva.org>2005-11-03 17:40:05 +0000
commit7ffbfe788a66305c3523f13d52038bd5f7ed4c44 (patch)
tree8947a8e940844349dfa9bb560387c1d215eb5f32 /perl-install/network
parent678f5cf1ad0ea2ddaded4125d8f9315eb760c1b0 (diff)
downloaddrakx-7ffbfe788a66305c3523f13d52038bd5f7ed4c44.tar
drakx-7ffbfe788a66305c3523f13d52038bd5f7ed4c44.tar.gz
drakx-7ffbfe788a66305c3523f13d52038bd5f7ed4c44.tar.bz2
drakx-7ffbfe788a66305c3523f13d52038bd5f7ed4c44.tar.xz
drakx-7ffbfe788a66305c3523f13d52038bd5f7ed4c44.zip
make it more readable
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/network.pm2
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 {