mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
live_ast: Add astcachedir to generated asterisk.conf.
`astcachedir` (added inb0842713
) was not added to `live_ast` so continued to point to the system `/var/cache` directory instead of the one in the live environment. (cherry picked from commit1e426b6f1c
)
This commit is contained in:
committed by
Asterisk Development Team
parent
b783ba6b13
commit
6142e38125
@@ -221,7 +221,7 @@ samples)
|
|||||||
sed -r -i \
|
sed -r -i \
|
||||||
-e '/^\[directories\]\(!\)/s/\(!\).*//' \
|
-e '/^\[directories\]\(!\)/s/\(!\).*//' \
|
||||||
-e "/^\[directories\]/a; rem-out any of the following to use Asterisk's defaults:" \
|
-e "/^\[directories\]/a; rem-out any of the following to use Asterisk's defaults:" \
|
||||||
-e "/^ast(etc|mod|varlib|data|agi|run|spool|log|db|key)dir\>/s| /| $BASE_DIR/|" \
|
-e "/^ast(cache|etc|mod|varlib|data|agi|run|spool|log|db|key)dir\>/s| /| $BASE_DIR/|" \
|
||||||
"$AST_CONF"
|
"$AST_CONF"
|
||||||
if [ "$LIVE_AST_FOR_SYSTEM" != '' ]; then
|
if [ "$LIVE_AST_FOR_SYSTEM" != '' ]; then
|
||||||
sed -r -i \
|
sed -r -i \
|
||||||
|
Reference in New Issue
Block a user