diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-05-18 19:26:05 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-05-18 19:26:05 +0000 |
commit | e0b254a0520c186c2933b1cb99ac3422ac7aa96f (patch) | |
tree | ded816799843fad53464a03a23f81f63155bc3b8 /lib/network | |
parent | 3164a4636444b6c93716837abba868aefccc4a7b (diff) | |
download | drakx-net-e0b254a0520c186c2933b1cb99ac3422ac7aa96f.tar drakx-net-e0b254a0520c186c2933b1cb99ac3422ac7aa96f.tar.gz drakx-net-e0b254a0520c186c2933b1cb99ac3422ac7aa96f.tar.bz2 drakx-net-e0b254a0520c186c2933b1cb99ac3422ac7aa96f.tar.xz drakx-net-e0b254a0520c186c2933b1cb99ac3422ac7aa96f.zip |
use "comgt PIN" to check cellular cards status
Diffstat (limited to 'lib/network')
-rw-r--r-- | lib/network/connection/cellular_card.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm index b6a889c..bf14ccb 100644 --- a/lib/network/connection/cellular_card.pm +++ b/lib/network/connection/cellular_card.pm @@ -173,7 +173,7 @@ sub check_device { sub check_hardware { my ($self) = @_; - 0; + to_bool(run_program::rooted($::prefix, 'comgt', '>', '/dev/null', '-d', $self->get_control_device, 'PIN')); } sub configure_hardware { |