dahdi-tools/xpp/dahdi_drivers
Asterisk Development Team 466357f5c2 Import DAHDI-Tools r9159
This revision of DAHDI-Tools is the base revision for the switch to
git.

git-svn-id: http://svn.astersk.org/svn/dahdi/tools/tools/trunk@9159
2010-08-18 13:49:24 +00:00

24 lines
464 B
Perl
Executable File

#! /usr/bin/perl -w
use strict;
use File::Basename;
BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
use Dahdi::Hardware;
my @drivers = Dahdi::Hardware->drivers;
print join("\n", @drivers),"\n";
__END__
=head1 NAME
dahdi_drivers - Show drivers required for installed dahdi devices.
=head1 SYNOPSIS
dahdi_drivers
=head1 DESCRIPTION
This script shows by default the list of drivers required for currently
installed dahdi devices.