From d1fb614ac850b89344e9fc0949ee4774e8b85b0f Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Tue, 28 Jan 2014 11:32:31 +0200 Subject: [PATCH] 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 --- 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