Set group ownership of dahdi device nodes to "dahdi" group.

This commit is contained in:
Max Khon
2010-11-07 17:18:36 +00:00
parent e09fd4e94d
commit e75bcadbbd
4 changed files with 16 additions and 2 deletions
+2 -1
View File
@@ -7,7 +7,7 @@
PORTNAME= dahdi
PORTVERSION= ${DAHDI_VERSION:S/-//g}
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= misc kld
MASTER_SITES= ${MASTER_SITE_LOCAL}\
http://downloads.digium.com/pub/telephony/firmware/releases/:firmware
@@ -45,6 +45,7 @@ CONFIGURE_ENV= WGET=/usr/bin/fetch
USE_LDCONFIG= yes
USE_RC_SUBR= dahdi
MAKE_ARGS= ADDITIONAL_DRIVERS="wcb1xxp" NO_FETCH=yes
GROUPS= dahdi
ONLY_FOR_ARCHS= i386 amd64 sparc64
CONFLICTS= zaptel-[0-9]*
+6
View File
@@ -53,10 +53,16 @@ dahdi_start()
{
echo "Starting ${name}."
# load kernel modules
kldconfig -mf ${kmod_dir}
for m in ${dahdi_modules}; do
kldload $m || exit 1
done
# configure devfs
devfs rule apply path 'dahdi/*' mode 0664 user root group dahdi
# run configuration utilities
%%PREFIX%%/sbin/dahdi_cfg
if [ -r %%PREFIX%%/etc/fxotune.conf ]; then
echo "Starting fxotune."
+2 -1
View File
@@ -7,7 +7,7 @@
PORTNAME= dahdi
PORTVERSION= ${DAHDI_VERSION:S/-//g}
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= misc kld
MASTER_SITES= ${MASTER_SITE_LOCAL}\
http://downloads.digium.com/pub/telephony/firmware/releases/:firmware
@@ -45,6 +45,7 @@ CONFIGURE_ENV= WGET=/usr/bin/fetch
USE_LDCONFIG= yes
USE_RC_SUBR= dahdi
MAKE_ARGS= ADDITIONAL_DRIVERS="wcb1xxp" NO_FETCH=yes
GROUPS= dahdi
ONLY_FOR_ARCHS= i386 amd64 sparc64
CONFLICTS= zaptel-[0-9]*
+6
View File
@@ -53,10 +53,16 @@ dahdi_start()
{
echo "Starting ${name}."
# load kernel modules
kldconfig -mf ${kmod_dir}
for m in ${dahdi_modules}; do
kldload $m || exit 1
done
# configure devfs
devfs rule apply path 'dahdi/*' mode 0664 user root group dahdi
# run configuration utilities
%%PREFIX%%/sbin/dahdi_cfg
if [ -r %%PREFIX%%/etc/fxotune.conf ]; then
echo "Starting fxotune."