summaryrefslogtreecommitdiff
path: root/dahdi.init
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-16 18:03:47 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-16 18:03:47 +0000
commitf48e3505473b9be26fa6d71c8437a87abde608f1 (patch)
tree5de89f01c6b0882b780447501327cd052cf6da31 /dahdi.init
parenteb21b700dd088304d1d9da2a657d4665ca655e23 (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-xdahdi.init5
1 files changed, 2 insertions, 3 deletions
diff --git a/dahdi.init b/dahdi.init
index 0bbc479..763e32a 100755
--- a/dahdi.init
+++ b/dahdi.init
@@ -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: