From aa99ba74f505f406d5d049b04dc11f6869f785d5 Mon Sep 17 00:00:00 2001 From: Max Khon Date: Sat, 21 Mar 2015 19:22:56 +0000 Subject: [PATCH] Give kernel module a few seconds to initialize hardware before calling dahdi_cfg. PR: 188780 Submitted by: Dan Lukes --- misc/dahdi-kmod/Makefile | 2 +- misc/dahdi-kmod/files/dahdi.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/dahdi-kmod/Makefile b/misc/dahdi-kmod/Makefile index 797acc876fd9..27bae8de3956 100644 --- a/misc/dahdi-kmod/Makefile +++ b/misc/dahdi-kmod/Makefile @@ -3,7 +3,7 @@ PORTNAME= dahdi-kmod PORTVERSION= ${DAHDI_VERSION:S/-//g} -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_LOCAL}\ http://downloads.digium.com/pub/telephony/firmware/releases/:firmware diff --git a/misc/dahdi-kmod/files/dahdi.in b/misc/dahdi-kmod/files/dahdi.in index 7c192566cd76..91ad7afcc138 100644 --- a/misc/dahdi-kmod/files/dahdi.in +++ b/misc/dahdi-kmod/files/dahdi.in @@ -62,6 +62,7 @@ dahdi_start() devfs rule apply path 'dahdi/*' mode 0664 user root group dahdi # run configuration utilities + /bin/sleep 5 %%PREFIX%%/sbin/dahdi_cfg if [ -r %%PREFIX%%/etc/fxotune.conf ]; then echo "Starting fxotune."