aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2015-03-22 03:22:56 +0800
committerfjoe <fjoe@FreeBSD.org>2015-03-22 03:22:56 +0800
commitcde45fab597a9157e6109c96bc20a080280850c2 (patch)
tree689873a46999271ecf2668c9818d1f648f2085bd
parent8d241a470e99b73feeb0117673b6952949c4153e (diff)
downloadfreebsd-ports-gnome-cde45fab597a9157e6109c96bc20a080280850c2.tar.gz
freebsd-ports-gnome-cde45fab597a9157e6109c96bc20a080280850c2.tar.zst
freebsd-ports-gnome-cde45fab597a9157e6109c96bc20a080280850c2.zip
Give kernel module a few seconds to initialize hardware before
calling dahdi_cfg. PR: 188780 Submitted by: Dan Lukes
-rw-r--r--misc/dahdi-kmod/Makefile2
-rw-r--r--misc/dahdi-kmod/files/dahdi.in1
2 files changed, 2 insertions, 1 deletions
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."