summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-11-02 15:35:59 +0000
committerOlivier Blin <oblin@mandriva.org>2005-11-02 15:35:59 +0000
commitd493d50174b413b3d04cfbd0ab25efc527dd8d8b (patch)
treef26a02bca8cee7c2613075ee0008697ee0193a9c /perl-install
parent87ec5878cd85fcf77f4573ae0a6fb7cf275dd3cb (diff)
downloaddrakx-backup-do-not-use-d493d50174b413b3d04cfbd0ab25efc527dd8d8b.tar
drakx-backup-do-not-use-d493d50174b413b3d04cfbd0ab25efc527dd8d8b.tar.gz
drakx-backup-do-not-use-d493d50174b413b3d04cfbd0ab25efc527dd8d8b.tar.bz2
drakx-backup-do-not-use-d493d50174b413b3d04cfbd0ab25efc527dd8d8b.tar.xz
drakx-backup-do-not-use-d493d50174b413b3d04cfbd0ab25efc527dd8d8b.zip
temporary workaround to have device-independant config files in wireless.d
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 {