summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/init_card_4_30
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/xpp/init_card_4_30')
-rwxr-xr-xdrivers/dahdi/xpp/init_card_4_304
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dahdi/xpp/init_card_4_30 b/drivers/dahdi/xpp/init_card_4_30
index c5ff7b8..0d0ae2b 100755
--- a/drivers/dahdi/xpp/init_card_4_30
+++ b/drivers/dahdi/xpp/init_card_4_30
@@ -54,6 +54,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';
@@ -344,8 +346,6 @@ sub port_setup($) {
}
package main;
-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/zconf"); }
-use XppConfig;
logit "Starting '$0'";