diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-11-04 11:40:09 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-11-04 11:40:09 +0000 |
commit | da8465487b9b828406f8295c8a76e434b83cbd75 (patch) | |
tree | 6e962729852b08b4ee3b35454f4b31fd399e5e57 | |
parent | 939ffb7577ce08dfc552ce0c112e9d51fd2b4519 (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-x | dahdi.init | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |