From 53894e5aa1e733a0321a69bd1b12bd794586b4ab Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Tue, 17 Jun 2008 17:49:05 +0000 Subject: Move the xpp utilities to the tools side. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4374 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- xpp/zaptel_drivers | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 xpp/zaptel_drivers (limited to 'xpp/zaptel_drivers') diff --git a/xpp/zaptel_drivers b/xpp/zaptel_drivers new file mode 100755 index 0000000..d7904c0 --- /dev/null +++ b/xpp/zaptel_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"; -- cgit v1.2.3