[Pkg-voip-commits] [dahdi-tools] 176/285: hotplug: document asterisk scriptlet
tzafrir at debian.org
tzafrir at debian.org
Thu Jul 7 19:18:52 UTC 2016
This is an automated email from the git hooks/post-receive script.
tzafrir pushed a commit to branch master
in repository dahdi-tools.
commit d1fb614ac850b89344e9fc0949ee4774e8b85b0f
Author: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Date: Tue Jan 28 11:32:31 2014 +0200
hotplug: document asterisk scriptlet
A well-behaving distribution may choose not to install
span_config.d/50-asterisk as part of dahdi-tools, as it belongs in
asterisk. Still, it would be nice to be able to keep it as a documented
usage example. So just writ where this file needs to go and what it
does.
No other change: it is still installed by default.
Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
---
hotplug/span_config.d/50-asterisk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/hotplug/span_config.d/50-asterisk b/hotplug/span_config.d/50-asterisk
index 2e7adbd..3b75899 100755
--- a/hotplug/span_config.d/50-asterisk
+++ b/hotplug/span_config.d/50-asterisk
@@ -1,5 +1,10 @@
#! /bin/sh
+# This file, if installed under /usr/share/dahdi/span_config.d/ , will
+# attempt to add a newly-generated span to a running copy of Asterisk.
+# Asterisk has to be running (if not: it will pick the span on its
+# startup), and has to have the channels already configured.
+
if [ "$ACTION" != 'add' ]; then
# Nothing to do here
exit 0
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/dahdi-tools.git
More information about the Pkg-voip-commits
mailing list