dahdi-tools/hotplug
Oron Peled 1292ea9078 registration-order: Added dahdi_auto_assign_compat
Maintains the original registration order as was before span
assignments. Should allow seemless trannsition to
dahdi.auto_assign_spans=0

* The idea:
  - We stop handling in udev the case of missing
    /etc/dahdi/assigned-spans.conf
  - Instead we rely on "registration_time" dahdi_device attribute from
    DAHDI-linux
  - Then, we can sort the devices and assign their spans in
    /etc/init.d/dahdi
* Mechanics:
  - From /etc/init.d/dahdi, we run a new 'dahdi_auto_assign_compat'
    script (after "waitfor_xpds" etc.)
  - In this script we "auto" assign spans of non-Astribank devices
  - In the end of the script we run "dahdi_registration" which
    does the same for Astribank devices.

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
Acked-by: Russ Meyerriecks <rmeyerriecks@digium.com>
2014-03-25 14:51:29 +02:00
..
handle_device.d registration-order: Added dahdi_auto_assign_compat 2014-03-25 14:51:29 +02:00
span_config.d hotplug: document asterisk scriptlet 2014-01-28 11:32:31 +02:00
dahdi_auto_assign_compat registration-order: Added dahdi_auto_assign_compat 2014-03-25 14:51:29 +02:00
dahdi_handle_device hotplug: call handle_device.d/ actions for remove 2014-03-25 14:48:09 +02:00
dahdi_span_config auto_assign_spans may be true even if not '1' 2014-02-07 14:22:49 +02:00