From ae61830d26db1e20d752a3c97ea20163baafc57d Mon Sep 17 00:00:00 2001 From: fjoe Date: Sat, 6 Mar 2010 05:11:59 +0000 Subject: Add ${LOCALBASE}/lib/dahdi to the KLD search path, so that autoloading of echo cancellation modules or Octasic firmware modules works as expected. Feature safe: yes --- misc/dahdi/Makefile | 2 +- misc/dahdi/files/dahdi.in | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'misc/dahdi') diff --git a/misc/dahdi/Makefile b/misc/dahdi/Makefile index bde17b751bb6..1179a73b8765 100644 --- a/misc/dahdi/Makefile +++ b/misc/dahdi/Makefile @@ -7,7 +7,7 @@ PORTNAME= dahdi PORTVERSION= ${DAHDI_VERSION:S/-//g} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc kld MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= fjoe diff --git a/misc/dahdi/files/dahdi.in b/misc/dahdi/files/dahdi.in index 15f6d43e741c..7bbcece0f891 100644 --- a/misc/dahdi/files/dahdi.in +++ b/misc/dahdi/files/dahdi.in @@ -39,8 +39,9 @@ dahdi_start() { echo -n " ${name}" + kldconfig -mf ${kmod_dir} for m in ${dahdi_modules}; do - kldload ${kmod_dir}/$m.ko || exit 1 + kldload $m || exit 1 done %%PREFIX%%/sbin/dahdi_cfg } -- cgit