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@xorcom.com>
This commit is contained in:
parent
98ecc272d1
commit
d1fb614ac8
@ -1,5 +1,10 @@
|
|||||||
#! /bin/sh
|
#! /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
|
if [ "$ACTION" != 'add' ]; then
|
||||||
# Nothing to do here
|
# Nothing to do here
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user