https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83695 | tilghman | 2007-09-24 12:22:08 -0500 (Mon, 24 Sep 2007) | 4 lines In the source, keys are relative to the datadir, not varlib (which is the same in most cases, but it's good to be accurate). Closes issue #10811 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
27 lines
1,006 B
Bash
Executable file
27 lines
1,006 B
Bash
Executable file
#!/bin/sh
|
|
cat << END
|
|
/*
|
|
* defaults.h
|
|
* Automatically generated
|
|
*/
|
|
#define AST_CONFIG_DIR "${INSTALL_PATH}${ASTETCDIR}"
|
|
#define AST_RUN_DIR "${INSTALL_PATH}${ASTVARRUNDIR}"
|
|
#define AST_SOCKET "${INSTALL_PATH}${ASTVARRUNDIR}/asterisk.ctl"
|
|
#define AST_PID "${INSTALL_PATH}${ASTVARRUNDIR}/asterisk.pid"
|
|
#define AST_MODULE_DIR "${INSTALL_PATH}${MODULES_DIR}"
|
|
#define AST_SPOOL_DIR "${INSTALL_PATH}${ASTSPOOLDIR}"
|
|
#define AST_VAR_DIR "${INSTALL_PATH}${ASTVARLIBDIR}"
|
|
#define AST_DATA_DIR "${INSTALL_PATH}${ASTDATADIR}"
|
|
#define AST_LOG_DIR "${INSTALL_PATH}${ASTLOGDIR}"
|
|
#define AST_AGI_DIR "${INSTALL_PATH}${AGI_DIR}"
|
|
#define AST_KEY_DIR "${INSTALL_PATH}${ASTDATADIR}/keys"
|
|
#define AST_DB "${INSTALL_PATH}${ASTVARLIBDIR}/astdb"
|
|
#define AST_TMP_DIR "${INSTALL_PATH}${ASTSPOOLDIR}/tmp"
|
|
|
|
#define AST_CONFIG_FILE "${INSTALL_PATH}${ASTCONFPATH}"
|
|
|
|
#define AST_SOUNDS "${INSTALL_PATH}${ASTDATADIR}/sounds"
|
|
#define AST_IMAGES "${INSTALL_PATH}${ASTDATADIR}/images"
|
|
|
|
END
|