Compare commits
12 Commits
v2.10.1-rc
...
v2.10.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3693ad815b | ||
|
|
e9a04c7a50 | ||
|
|
b37bcfb3b4 | ||
|
|
42f3e120ff | ||
|
|
48bb9e54f7 | ||
|
|
605914d817 | ||
|
|
bcd25eea36 | ||
|
|
c7dc48e534 | ||
|
|
0ae73f0497 | ||
|
|
93f85f7e6f | ||
|
|
e14958442d | ||
|
|
f3b18f7832 |
@@ -148,11 +148,15 @@ cat /sys/bus/astribanks/devices/*/waitfor_xpds 2> /dev/null || :
|
||||
|
||||
# Wait for device to stabilize and XPD's to finish initalizations
|
||||
echo 1>&2 "Astribanks initializing spans"
|
||||
if [ "$XPP_HOTPLUG_DAHDI" = yes ]; then
|
||||
if [ "$CALLED_FROM_ATRIBANK_HOOK" = '' ]; then
|
||||
if [ "$XPP_HOTPLUG_DAHDI" = yes -a "$CALLED_FROM_ATRIBANK_HOOK" = '' -a \
|
||||
"$ASTERISK_SUPPORTS_DAHDI_HOTPLUG" != 'yes' ]; then
|
||||
if [ -f /etc/dahdi/xpp_order ]; then
|
||||
# Now we can wait until the hotplug run would remove the semaphore
|
||||
echo -n 1>&2 "Other DAHDI initializations... "
|
||||
astribank_is_starting -v -w 1>&2
|
||||
else
|
||||
echo 1>&2 "WARNING: No ASTERISK_SUPPORTS_DAHDI_HOTPLUG" \
|
||||
" and no /etc/dahdi/xpp_order"
|
||||
fi
|
||||
fi
|
||||
# All Astribanks initialized -- remove semaphore
|
||||
|
||||
@@ -319,8 +319,9 @@ load_fw_device() {
|
||||
if [ "$pri_spec_wildcard" != '' ]; then
|
||||
debug "ECHO($dev_short): Found definitions for wildcard -- $pri_spec_wildcard"
|
||||
fi
|
||||
pri_spec=`echo "$pri_spec_wildcard $pri_spec" | tr -s ' \t\n' ','`
|
||||
if [ "$pri_spec" != '' ]; then
|
||||
pri_spec_params=""
|
||||
if [ "$pri_spec$pri_spec_wildcard" != '' ]; then
|
||||
pri_spec=`echo "$pri_spec_wildcard $pri_spec" | tr -s ' \t\n' ','`
|
||||
pri_spec_params="-S $pri_spec"
|
||||
debug "ECHO($dev_short): pri_spec_params='$pri_spec_params'"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user