diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2008-10-16 18:03:47 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2008-10-16 18:03:47 +0000 |
commit | f48e3505473b9be26fa6d71c8437a87abde608f1 (patch) | |
tree | 5de89f01c6b0882b780447501327cd052cf6da31 /dahdi.init | |
parent | eb21b700dd088304d1d9da2a657d4665ca655e23 (diff) |
xpp: userspace support for sysfx migration.
The userspace side of dahdi-linux r5097.
* Perl modules default to using xpp sysfs but will fallback (with warning)
to procfs interface.
* An additional /usr/share/dahdi/waitfor_xpds to replace the line in the
init.d script.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5099 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'dahdi.init')
-rwxr-xr-x | dahdi.init | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -76,9 +76,8 @@ xpp_startup() { # do nothing if there are no astribank devices: if ! grep -q connected /proc/xpp/xbuses 2>/dev/null; then return 0; fi - echo "Waiting for Astribank devices to initialize:" - cat /proc/xpp/XBUS-[0-9]*/waitfor_xpds 2>/dev/null || true - + if ! /usr/share/dahdi/waitfor_xpds; then return 0; fi + # overriding locales for the above two, as perl can be noisy # when locales are missing. # No register all the devices if they didn't auto-register: |