summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-11-07 17:13:38 +0000
committerOlivier Blin <oblin@mandriva.org>2005-11-07 17:13:38 +0000
commit3ef090dd4f25e6f79066968fe7cf1e84bdc3d67b (patch)
tree1e9b03844d8d7f545c089c476aa230fba69b147b
parentd939c1f4174b5d6153c26f018c087264d7a0e886 (diff)
downloaddrakx-3ef090dd4f25e6f79066968fe7cf1e84bdc3d67b.tar
drakx-3ef090dd4f25e6f79066968fe7cf1e84bdc3d67b.tar.gz
drakx-3ef090dd4f25e6f79066968fe7cf1e84bdc3d67b.tar.bz2
drakx-3ef090dd4f25e6f79066968fe7cf1e84bdc3d67b.tar.xz
drakx-3ef090dd4f25e6f79066968fe7cf1e84bdc3d67b.zip
temporary workaround to have device-independant config files in wireless.d
-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 9624c1c11..64b5576b9 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 { $_ = '' if /^DEVICE=/ } $wireless_file;
}
sub add2hosts {