16 lines
290 B
Bash
Executable File
16 lines
290 B
Bash
Executable File
#! /bin/sh
|
|
|
|
case "$ACTION" in
|
|
add)
|
|
;;
|
|
*)
|
|
exit 0
|
|
esac
|
|
|
|
# For now, handle only spans in assigned-spans.conf
|
|
# We leave other cases to /etc/init.d/dahdi, so
|
|
# legacy ordering can be preserved.
|
|
if [ -r "$DAHDICONFDIR/assigned-spans.conf" ]; then
|
|
dahdi_span_assignments add "/sys$DEVPATH"
|
|
fi
|