mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	add support for 'early loading' modules, so that nearly all configuration files can be read from Realtime storage
add warning for when file mapping is found but the engine is not available add warning for trying to map 'logger.conf', since it cannot be reliably mapped git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -2081,6 +2081,11 @@ int main(int argc, char *argv[]) | ||||
| 		printf(term_quit()); | ||||
| 		exit(1); | ||||
| 	} | ||||
| 	/* load 'preload' modules, required for access to Realtime-mapped configuration files */ | ||||
| 	if (load_modules(1)) { | ||||
| 		printf(term_quit()); | ||||
| 		exit(1); | ||||
| 	} | ||||
| 	ast_channels_init(); | ||||
| 	if (init_manager()) { | ||||
| 		printf(term_quit()); | ||||
| @@ -2103,7 +2108,7 @@ int main(int argc, char *argv[]) | ||||
| 		printf(term_quit()); | ||||
| 		exit(1); | ||||
| 	} | ||||
| 	if (load_modules()) { | ||||
| 	if (load_modules(0)) { | ||||
| 		printf(term_quit()); | ||||
| 		exit(1); | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user