summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Schwyn <gentoo@bitcetera.com>2008-12-16 23:23:18 +0000
committerSven Schwyn <gentoo@bitcetera.com>2008-12-16 23:23:18 +0000
commit16cb30ae00bd8f0864143c0f36d1727ebd6244d1 (patch)
treef9e07308bcf5be08c0f7d99b90043a6b78e426b1 /net-misc
parentnet-misc/callweaver: update Zap to DAHDI warnings (diff)
downloadvoip-16cb30ae00bd8f0864143c0f36d1727ebd6244d1.tar.gz
voip-16cb30ae00bd8f0864143c0f36d1727ebd6244d1.tar.bz2
voip-16cb30ae00bd8f0864143c0f36d1727ebd6244d1.zip
net-misc/dahdi-tools: Enable HPEC only if configuration found in system.conf
svn path=/trunk/; revision=748
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/dahdi-tools/Manifest2
-rw-r--r--net-misc/dahdi-tools/files/2.1.0-r1/dahdi.init8
2 files changed, 6 insertions, 4 deletions
diff --git a/net-misc/dahdi-tools/Manifest b/net-misc/dahdi-tools/Manifest
index 32c9df5..c5edc42 100644
--- a/net-misc/dahdi-tools/Manifest
+++ b/net-misc/dahdi-tools/Manifest
@@ -1,4 +1,4 @@
-AUX 2.1.0-r1/dahdi.init 593 RMD160 10adaa84bb934810184a7a078ebd127435299084 SHA1 b84f532e38f3814fdddb2238ed01006eb5516b89 SHA256 c190dbf0b52d035536ee9537862582c5baf5031a9cb2265bb98c072f7ae0ea06
+AUX 2.1.0-r1/dahdi.init 665 RMD160 13fc785eb912a900dfaaf8d7b9e8c5a88684b3e5 SHA1 a05df24ddfe2e73730ce189199bad2baaa1189ed SHA256 3f9675d36b4b241f51a0e14431f2a6e54b775694c3c231ff237254a3ee05f51c
AUX 2.1.0/dahdi.init 472 RMD160 0dc7584656a755a80e597d60e556a010241f87d0 SHA1 5fc0e2c9fe545c63f46302d9eaae902175bf8382 SHA256 2649dca6a613480ae96f9f4165a807e54891e40f06a84745bd289b8725bce2e1
DIST dahdi-tools-2.1.0.tar.gz 412787 RMD160 42b36c0c72c0ab5ac577c3368c17dced4e196e35 SHA1 b046e71f1dbe55ea5948b9f23d24363ccfbc6c1a SHA256 2b30f094446e72a3476dff68c427a861f95cebc953a1e9bd9a16b8ed21a51487
EBUILD dahdi-tools-2.1.0-r1.ebuild 672 RMD160 567a9cf8993a85037692c4b73499372e30342710 SHA1 0553039c7aeb7a3f380dae0b80867e5948710576 SHA256 af398e4a769752c80994d699d084f21d72b96793a82edd0325f0e3c914ce97a0
diff --git a/net-misc/dahdi-tools/files/2.1.0-r1/dahdi.init b/net-misc/dahdi-tools/files/2.1.0-r1/dahdi.init
index 0c32a1d..f0c77b9 100644
--- a/net-misc/dahdi-tools/files/2.1.0-r1/dahdi.init
+++ b/net-misc/dahdi-tools/files/2.1.0-r1/dahdi.init
@@ -20,9 +20,11 @@ start() {
checkconfig || return 1
if [ -x /opt/bin/dahdihpec_enable ]; then
- ebegin "Enabling HPEC"
- /opt/bin/dahdihpec_enable >/dev/null
- eend $?
+ if grep -q "^echocanceller=hpec" /etc/dahdi/system.conf; then
+ ebegin "Enabling HPEC"
+ /opt/bin/dahdihpec_enable >/dev/null
+ eend $?
+ fi
fi
ebegin "Starting DAHDI"