summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-05-15 22:23:26 +0000
committerOlivier Blin <oblin@mandriva.com>2008-05-15 22:23:26 +0000
commitb05173ede74f6aa64e096e7f43913eea7f3e1f8f (patch)
treea877f14e39124f8d845f10f6e44631626f146df2
parent160f4b814cdb8a15b73f4cb91a0b98bca75ea2b0 (diff)
downloaddrakx-net-b05173ede74f6aa64e096e7f43913eea7f3e1f8f.tar
drakx-net-b05173ede74f6aa64e096e7f43913eea7f3e1f8f.tar.gz
drakx-net-b05173ede74f6aa64e096e7f43913eea7f3e1f8f.tar.bz2
drakx-net-b05173ede74f6aa64e096e7f43913eea7f3e1f8f.tar.xz
drakx-net-b05173ede74f6aa64e096e7f43913eea7f3e1f8f.zip
update chat/ppp files when connecting to a cellular network
-rw-r--r--lib/network/connection/cellular.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/network/connection/cellular.pm b/lib/network/connection/cellular.pm
index 79fa065..b0e6bb0 100644
--- a/lib/network/connection/cellular.pm
+++ b/lib/network/connection/cellular.pm
@@ -62,4 +62,10 @@ sub write_settings {
$self->SUPER::write_settings;
}
+sub apply_network_selection {
+ my ($self) = @_;
+ $self->set_ppp_settings;
+ $self->write_ppp_settings;
+}
+
1;