It's nice to be able to define the list of asterisk modules we want to
load from the /etc/sysconfig/zaptel file rather than directly in
/etc/init.d/zaptel. I'm using nufone and don't require anything but the
ztdummy (is the rtc-based module better, anyone?), so that's what I've
put here.
These are based on zaptel-1.0-RC1.
John
--- zaptel-1.0/zaptel.init.ole 2003-07-14 14:25:44.000000000 -0500
+++ zaptel-1.0/zaptel.init 2004-08-18 16:43:04.000000000 -0500
@@ -27,9 +27,10 @@
RETVAL=0
-MODULES="torisa tor2 wct4xxp wct1xxp wcfxo wcfxs wcusb"
-
-RMODULES="wcusb wcfxs wcfxo wct1xxp wct4xxp tor2 torisa"
if [ "${DEBUG}" = "yes" ]; then
ARGS="debug=1"
--- zaptel-1.0/zaptel.sysconfig.ole 2002-06-06 18:20:24.000000000 -0500
+++ zaptel-1.0/zaptel.sysconfig 2004-08-18 16:45:29.0000 -0500
@@ -1,2 +1,8 @@
TELEPHONY=yes
#DEBUG=yes
+
+# define the modules we want loaded/unloaded automatically
+#MODULES="torisa tor2 wct4xxp wct1xxp wcfxo wcfxs wcusb"
+MODULES="ztdummy"
+#RMODULES="wcusb wcfxs wcfxo wct1xxp wct4xxp tor2 torisa"
+RMODULES="ztdummy"
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users