mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-25 06:00:36 +00:00 
			
		
		
		
	git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
		
			
				
	
	
		
			29 lines
		
	
	
		
			991 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			991 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| cat << END
 | |
| /*
 | |
|  * defaults.h 
 | |
|  * Automatically generated from build options,
 | |
|  * only used in main/asterisk.c
 | |
|  */
 | |
| #define DEFAULT_CONFIG_FILE "${INSTALL_PATH}${ASTCONFPATH}"
 | |
| 
 | |
| #define DEFAULT_CONFIG_DIR "${INSTALL_PATH}${ASTETCDIR}"
 | |
| #define DEFAULT_MODULE_DIR "${INSTALL_PATH}${MODULES_DIR}"
 | |
| #define DEFAULT_AGI_DIR    "${INSTALL_PATH}${AGI_DIR}"
 | |
| #define DEFAULT_LOG_DIR    "${INSTALL_PATH}${ASTLOGDIR}"
 | |
| 
 | |
| #define DEFAULT_RUN_DIR    "${INSTALL_PATH}${ASTVARRUNDIR}"
 | |
| #define DEFAULT_SOCKET     "${INSTALL_PATH}${ASTVARRUNDIR}/asterisk.ctl"
 | |
| #define DEFAULT_PID        "${INSTALL_PATH}${ASTVARRUNDIR}/asterisk.pid"
 | |
| 
 | |
| #define DEFAULT_VAR_DIR    "${INSTALL_PATH}${ASTVARLIBDIR}"
 | |
| #define DEFAULT_DB         "${INSTALL_PATH}${ASTDBDIR}/astdb"
 | |
| 
 | |
| #define DEFAULT_DATA_DIR   "${INSTALL_PATH}${ASTDATADIR}"
 | |
| #define DEFAULT_KEY_DIR    "${INSTALL_PATH}${ASTDATADIR}/keys"
 | |
| 
 | |
| #define DEFAULT_SPOOL_DIR  "${INSTALL_PATH}${ASTSPOOLDIR}"
 | |
| #define DEFAULT_TMP_DIR    "${INSTALL_PATH}${ASTSPOOLDIR}/tmp"
 | |
| 
 | |
| END
 |