diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-11-02 15:35:59 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-11-02 15:35:59 +0000 |
commit | d493d50174b413b3d04cfbd0ab25efc527dd8d8b (patch) | |
tree | f26a02bca8cee7c2613075ee0008697ee0193a9c /perl-install/network/network.pm | |
parent | 87ec5878cd85fcf77f4573ae0a6fb7cf275dd3cb (diff) | |
download | drakx-d493d50174b413b3d04cfbd0ab25efc527dd8d8b.tar drakx-d493d50174b413b3d04cfbd0ab25efc527dd8d8b.tar.gz drakx-d493d50174b413b3d04cfbd0ab25efc527dd8d8b.tar.bz2 drakx-d493d50174b413b3d04cfbd0ab25efc527dd8d8b.tar.xz drakx-d493d50174b413b3d04cfbd0ab25efc527dd8d8b.zip |
temporary workaround to have device-independant config files in wireless.d
Diffstat (limited to 'perl-install/network/network.pm')
-rw-r--r-- | perl-install/network/network.pm | 2 |
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 { |