summaryrefslogtreecommitdiff
path: root/dahdi.init
diff options
context:
space:
mode:
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: