[svn-commits] tzafrir: tools/trunk r7461 - /tools/trunk/dahdi.init

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Nov 4 05:40:13 CST 2009


Author: tzafrir
Date: Wed Nov  4 05:40:09 2009
New Revision: 7461

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=7461
Log:
Allow overriding DAHDI_CFG_CMD from the environment

Useful in some testing environments.

Modified:
    tools/trunk/dahdi.init

Modified: tools/trunk/dahdi.init
URL: http://svnview.digium.com/svn/dahdi/tools/trunk/dahdi.init?view=diff&rev=7461&r1=7460&r2=7461
==============================================================================
--- tools/trunk/dahdi.init (original)
+++ tools/trunk/dahdi.init Wed Nov  4 05:40:09 2009
@@ -24,7 +24,7 @@
 # Don't edit the following values. Edit /etc/dahdi/init.conf instead.
 
 DAHDI_CFG=/usr/sbin/dahdi_cfg
-DAHDI_CFG_CMD="$DAHDI_CFG" # e.g: for a custom system.conf location
+DAHDI_CFG_CMD=${DAHDI_CFG_CMD:-"$DAHDI_CFG"} # e.g: for a custom system.conf location
 
 FXOTUNE=/usr/sbin/fxotune
 




More information about the svn-commits mailing list