dahdi_cfg: error()->perror() when sem_open fails.
[dahdi/tools.git] / hotplug / handle_device.d / 20-span-assignments
1 #! /bin/sh
2
3 if [ -r "$DAHDICONFDIR/assigned-spans.conf" ]; then
4         dahdi_span_assignments add "/sys$DEVPATH"
5 else
6         # No configuration. No order guaranteed
7         dahdi_span_assignments auto "/sys$DEVPATH"
8 fi