summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/init_card_3_30
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/xpp/init_card_3_30')
-rwxr-xr-xdrivers/dahdi/xpp/init_card_3_302
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dahdi/xpp/init_card_3_30 b/drivers/dahdi/xpp/init_card_3_30
index ce8ad01..2f94da9 100755
--- a/drivers/dahdi/xpp/init_card_3_30
+++ b/drivers/dahdi/xpp/init_card_3_30
@@ -57,6 +57,8 @@ use Getopt::Std;
my $program = basename("$0");
my $init_dir = dirname("$0");
+BEGIN { $init_dir = dirname($0); unshift(@INC, "$init_dir", "$init_dir/zconf"); }
+use XppConfig $init_dir;
my $unit_id;
my %opts;
$ENV{XPP_BASE} = '/proc/xpp';