diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-07-21 13:40:18 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-07-21 13:40:18 +0000 |
commit | df3a9f880353c2fcfd56c0543158ebe00a4bd11f (patch) | |
tree | 730bd55da53eaebff6601ae6588aea995cba772c /patlooptest.c | |
parent | b62d766c1338accbf7c2a58dc290837123cdb13d (diff) |
astribank_hook: startup lock and more
* Silently exit right away if user did not set XPP_HOTPLUG_DAHDI.
* Only one Astribank should be allowed to run the startup script:
- Protect that section with a "lock" (symlinking a file).
- Sadly we can't rely on /run and may have to wait for a r/w file-system.
- And thus even this waiting needs to be run in the background
as to not hold udev.
Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@10068 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'patlooptest.c')
0 files changed, 0 insertions, 0 deletions