diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-11-17 15:03:30 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-11-17 15:03:30 +0000 |
commit | b59a5dce8ac32cb6d23d13b0aeffbee7246ed875 (patch) | |
tree | 48ee7e838b77c226e9e32ce91337a17681bb1eb8 /lib | |
parent | b41dd0a7df09bf360423da81ccb26f6ece2ae56b (diff) | |
download | drakx-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.pm | 5 |
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', |