summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-11-17 15:03:30 +0000
committerOlivier Blin <oblin@mandriva.com>2008-11-17 15:03:30 +0000
commitb59a5dce8ac32cb6d23d13b0aeffbee7246ed875 (patch)
tree48ee7e838b77c226e9e32ce91337a17681bb1eb8 /lib
parentb41dd0a7df09bf360423da81ccb26f6ece2ae56b (diff)
downloaddrakx-net-b59a5dce8ac32cb6d23d13b0aeffbee7246ed875.tar
drakx-net-b59a5dce8ac32cb6d23d13b0aeffbee7246ed875.tar.gz
drakx-net-b59a5dce8ac32cb6d23d13b0aeffbee7246ed875.tar.bz2
drakx-net-b59a5dce8ac32cb6d23d13b0aeffbee7246ed875.tar.xz
drakx-net-b59a5dce8ac32cb6d23d13b0aeffbee7246ed875.zip
detect cellular_card types from ifcfg file
Diffstat (limited to 'lib')
-rw-r--r--lib/network/connection/cellular_card.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm
index 00f7b39..4581ea3 100644
--- a/lib/network/connection/cellular_card.pm
+++ b/lib/network/connection/cellular_card.pm
@@ -21,6 +21,11 @@ sub get_metric { 40 }
sub get_packages { 'comgt', 'ppp' }
+sub handles_ifcfg {
+ my ($_class, $ifcfg) = @_;
+ exists $ifcfg->{CELLULAR_CID};
+}
+
my @thirdparty_settings = (
{
name => 'nozomi',