7f826a7d35
* Device related operations are ordered in /usr/share/dahdi/handle_device.d/ * Span related operations are ordered in /usr/share/dahdi/span_config.d/ * In the future, span_config.d/50-asterisk should be moved to Asterisk. Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> Acked-by: Russ Meyerriecks <rmeyerriecks@digium.com>
9 lines
200 B
Bash
Executable File
9 lines
200 B
Bash
Executable File
#! /bin/sh
|
|
|
|
if [ -r "$DAHDICONFDIR/assigned-spans.conf" ]; then
|
|
dahdi_span_assignments add "/sys$DEVPATH"
|
|
else
|
|
# No configuration. No order guaranteed
|
|
dahdi_span_assignments auto "/sys$DEVPATH"
|
|
fi
|