[zaptel-commits] tzafrir: trunk r1412 - /trunk/xpp/utils/genzaptelconf

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Wed Sep 6 01:43:10 MST 2006


Author: tzafrir
Date: Wed Sep  6 03:43:03 2006
New Revision: 1412

URL: http://svn.digium.com/view/zaptel?rev=1412&view=rev
Log:
genzaptelconf: allow passing the names of the produced files from the 
environment.

Modified:
    trunk/xpp/utils/genzaptelconf

Modified: trunk/xpp/utils/genzaptelconf
URL: http://svn.digium.com/view/zaptel/trunk/xpp/utils/genzaptelconf?rev=1412&r1=1411&r2=1412&view=diff
==============================================================================
--- trunk/xpp/utils/genzaptelconf (original)
+++ trunk/xpp/utils/genzaptelconf Wed Sep  6 03:43:03 2006
@@ -55,9 +55,9 @@
 # will set this to "no", so you can safely leave it as "yes".
 set_immediate=yes
 
-ZAPCONF_FILE=/etc/zaptel.conf
+ZAPCONF_FILE=${ZAPCONF_FILE:-/etc/zaptel.conf}
 ZAPCONF_FILE_SYSTEM=$ZAPCONF_FILE
-ZAPATA_FILE=/etc/asterisk/zapata-channels.conf
+ZAPATA_FILE=${ZAPATA_FILE:-/etc/asterisk/zapata-channels.conf}
 ZAPTEL_BOOT_DEBIAN=${ZAPTEL_BOOT_DEBIAN:-/etc/default/zaptel}
 ZAPTEL_BOOT_FEDORA=${ZAPTEL_BOOT_FEDORA:-/etc/sysconfig/zaptel}
 MODLIST_FILE=/etc/modules



More information about the zaptel-commits mailing list