summaryrefslogtreecommitdiffstats
path: root/perl-install/network/tools.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-02-05 02:23:32 +0000
committerOlivier Blin <oblin@mandriva.org>2005-02-05 02:23:32 +0000
commitd2255e43294636e26a215168ac2c32f12b414368 (patch)
tree7f3b448328beeefe8626a519db8ea9fe8ec7ee47 /perl-install/network/tools.pm
parent841f8e081b4c00cdc6ac65d6af3380498fd19a59 (diff)
downloaddrakx-d2255e43294636e26a215168ac2c32f12b414368.tar
drakx-d2255e43294636e26a215168ac2c32f12b414368.tar.gz
drakx-d2255e43294636e26a215168ac2c32f12b414368.tar.bz2
drakx-d2255e43294636e26a215168ac2c32f12b414368.tar.xz
drakx-d2255e43294636e26a215168ac2c32f12b414368.zip
basic ndiswrapper support
Diffstat (limited to 'perl-install/network/tools.pm')
-rw-r--r--perl-install/network/tools.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm
index 2e0ea2d74..5bf376dba 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -294,4 +294,12 @@ sub get_default_metric {
$idx * 10;
}
+sub ndiswrapper_installed_drivers {
+ `ndiswrapper -l` =~ /(\w+)\s+driver present/mg;
+}
+
+sub ndiswrapper_available_drivers {
+ `ndiswrapper -l` =~ /(\w+)\s+driver present, hardware present/mg;
+}
+
1;