[zaptel-commits] trunk - r889 in /trunk: zaptel.init
zaptel.sysconfig
zaptel-commits at lists.digium.com
zaptel-commits at lists.digium.com
Tue Jan 10 16:09:30 CST 2006
Author: mattf
Date: Tue Jan 10 16:09:30 2006
New Revision: 889
URL: http://svn.digium.com/view/zaptel?rev=889&view=rev
Log:
Updates to allow module paramesters to be set for zaptel.init
Modified:
trunk/zaptel.init
trunk/zaptel.sysconfig
Modified: trunk/zaptel.init
URL: http://svn.digium.com/view/zaptel/trunk/zaptel.init?rev=889&r1=888&r2=889&view=diff
==============================================================================
--- trunk/zaptel.init (original)
+++ trunk/zaptel.init Tue Jan 10 16:09:30 2006
@@ -81,7 +81,8 @@
echo "OK"
echo -n "Loading zaptel hardware modules:"
for x in $MODULES; do
- if modprobe ${x} ${ARGS} >& /dev/null; then
+ eval localARGS="\$${x}_ARGS"
+ if modprobe ${x} ${ARGS} ${localARGS} >& /dev/null; then
echo -n " $x"
fi
done
Modified: trunk/zaptel.sysconfig
URL: http://svn.digium.com/view/zaptel/trunk/zaptel.sysconfig?rev=889&r1=888&r2=889&view=diff
==============================================================================
--- trunk/zaptel.sysconfig (original)
+++ trunk/zaptel.sysconfig Tue Jan 10 16:09:30 2006
@@ -8,6 +8,7 @@
MODULES="$MODULES wct4xxp" # TE405P - Quad Span T1/E1 Card (5v version)
# TE410P - Quad Span T1/E1 Card (3.3v version)
+#wct4xxp_ARGS="t1e1override=15" # Additional parameters for TE4xxP driver
MODULES="$MODULES wct1xxp" # T100P - Single Span T1 Card
# E100P - Single Span E1 Card
More information about the zaptel-commits
mailing list