[Asterisk-Users] Another small suggestion patch

John Morris asterisk at butchwax.com
Wed Aug 18 17:17:07 MST 2004


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"








More information about the asterisk-users mailing list