diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-03-14 17:21:52 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-03-14 17:21:52 +0000 |
commit | 4679eaf01dbd8de821a6b5e4744f96ffc4eb9e09 (patch) | |
tree | c90ee624cc0622124e5a5e60927b79a2614b8589 /lib/network | |
parent | f5d6d19dbd91b38ac13393d2be970f4580e5684b (diff) | |
download | drakx-net-4679eaf01dbd8de821a6b5e4744f96ffc4eb9e09.tar drakx-net-4679eaf01dbd8de821a6b5e4744f96ffc4eb9e09.tar.gz drakx-net-4679eaf01dbd8de821a6b5e4744f96ffc4eb9e09.tar.bz2 drakx-net-4679eaf01dbd8de821a6b5e4744f96ffc4eb9e09.tar.xz drakx-net-4679eaf01dbd8de821a6b5e4744f96ffc4eb9e09.zip |
add apply_network_selection
Diffstat (limited to 'lib/network')
-rw-r--r-- | lib/network/connection/wireless.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm index e3a1929..7f59041 100644 --- a/lib/network/connection/wireless.pm +++ b/lib/network/connection/wireless.pm @@ -590,6 +590,13 @@ sub write_settings { $self->SUPER::write_settings($o_net, $o_modules_conf); } +sub apply_network_selection { + my ($self) = @_; + require network::network; + my $file = network::network::get_ifcfg_file($self->get_interface); + network::network::write_interface_settings($self->build_ifcfg_settings, $file); +} + sub network_is_configured { my ($self, $network) = @_; if ($self->{control}{roaming}) { |