dahdi-tools/hotplug
Oron Peled 754d981621 Avoid a race between /etc/init.d/dahdi and hotplug scripts:
* On some systems/configurations, dahdi init script may kick in
  during the time that hotplug scripts are configuring spans.

* It may lead to a race since the init script runs "dahdi_auto_assign_compat"
  which calls "dahdi_registration" and that tries to run
  "dahdi_span_assignments auto ..."

* Use the newly-added "dahdi_span_assignments" "unmatched" operation.

* Now the "dahdi_auto_assign_compat" script only runs "dahdi_registration"
  if there are no "unmatched" Astribanks.

* This prevents the race in fully configured systems.
  The race may still exist on partially-configured systems.
2017-08-31 19:00:02 +03:00
..
handle_device.d xpp: run xpp_sync when an Astribank is connected 2017-03-02 11:11:54 +02:00
span_config.d hotplug: document asterisk scriptlet 2014-01-28 11:32:31 +02:00
dahdi_auto_assign_compat Avoid a race between /etc/init.d/dahdi and hotplug scripts: 2017-08-31 19:00:02 +03: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
Makefile.am automake: bugfix: fix installation paths 2015-05-26 12:18:30 +03:00