summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-11-04 11:40:09 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-11-04 11:40:09 +0000
commitda8465487b9b828406f8295c8a76e434b83cbd75 (patch)
tree6e962729852b08b4ee3b35454f4b31fd399e5e57
parent939ffb7577ce08dfc552ce0c112e9d51fd2b4519 (diff)
Allow overriding DAHDI_CFG_CMD from the environment
Useful in some testing environments. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7461 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rwxr-xr-xdahdi.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/dahdi.init b/dahdi.init
index 5730c3b..297fb6d 100755
--- a/dahdi.init
+++ b/dahdi.init
@@ -24,7 +24,7 @@ initdir=/etc/init.d
# 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