summaryrefslogtreecommitdiff
path: root/xpp/dahdi_drivers
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-06-19 17:23:15 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-06-19 17:23:15 +0000
commitc1ae88873823bdc2d884f72cc2b06eab017b97b1 (patch)
tree07db658e30eb6837646bb5ced9d82e9372b5bd11 /xpp/dahdi_drivers
parente78c863ec69587ffb55e44abc0641f5c392a08f3 (diff)
XPP utilities rename: first moves.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4415 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'xpp/dahdi_drivers')
-rwxr-xr-xxpp/dahdi_drivers9
1 files changed, 9 insertions, 0 deletions
diff --git a/xpp/dahdi_drivers b/xpp/dahdi_drivers
new file mode 100755
index 0000000..d7904c0
--- /dev/null
+++ b/xpp/dahdi_drivers
@@ -0,0 +1,9 @@
+#! /usr/bin/perl -w
+use strict;
+use File::Basename;
+BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/zconf"); }
+
+use Zaptel::Hardware;
+
+my $hardware = Zaptel::Hardware->scan;
+print join("\n", $hardware->drivers),"\n";