summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/init_card_2_30
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-03-12 15:12:50 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-03-12 15:12:50 +0000
commit114c14fc4960dbaeae88d8520456344feec75b84 (patch)
tree0781ec2fc5f2dd4da88f8102c0e5c09977b3f8cd /drivers/dahdi/xpp/init_card_2_30
parent9edb2a384af2078f4769d2d3afbb7f7bb4939c25 (diff)
xpp init_card_* scripts now less verbose
* Demote some messages to be debug messages. * Rephrase the message about defaults for the PRI module (the driver's defaults are used, which is OK) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6135 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/init_card_2_30')
-rwxr-xr-xdrivers/dahdi/xpp/init_card_2_308
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/dahdi/xpp/init_card_2_30 b/drivers/dahdi/xpp/init_card_2_30
index 34f8a0b..8dd57ed 100755
--- a/drivers/dahdi/xpp/init_card_2_30
+++ b/drivers/dahdi/xpp/init_card_2_30
@@ -69,11 +69,11 @@ sub debug {
# Arrange for error logging
if (-t STDERR || $opts{v}) {
$unit_id = 'Interactive';
- main::debug "Interactive startup";
+ debug "Interactive startup";
} else {
$unit_id = "$ENV{XBUS_NAME}/UNIT-$ENV{UNIT_NUMBER}";
open (STDERR, "| logger -t $program -p kern.info") || die;
- main::debug "Non Interactive startup";
+ debug "Non Interactive startup";
foreach my $k (qw(
XBUS_NAME
XBUS_NUMBER
@@ -365,7 +365,7 @@ if($opts{v}) {
exit 0;
}
-main::logit "Starting";
+main::debug "Starting";
FXO::read_defaults;
die "OPERMODE is undefined" unless $OPERMODE;
@@ -384,7 +384,7 @@ while(<DATA>) {
FXO::opermode_setup;
close REG;
-main::logit "Ending '$0'";
+main::debug "Ending '$0'";
close STDERR;
exit 0;