CL_SIGNAL(SIGTERM, pengine_shutdown);
G_main_add_SignalHandler( G_PRIORITY_HIGH, SIGTERM, pengine_shutdown, NULL, NULL);
main(int argc, char ** argv){	gboolean allow_cores = TRUE;	int	argerr = 0;	int flag;    	crm_log_init(crm_system_name);	set_crm_log_level(LOG_VERBOSE);	CL_SIGNAL(SIGTERM, pengine_shutdown);	while ((flag = getopt(argc, argv, OPTARGS)) != EOF) {		switch(flag) {			case 'V':				alter_debug(DEBUG_INC);				break;			case 'h':		/* Help message */				usage(crm_system_name, LSB_EXIT_OK);				break;			case 'c':				allow_cores = TRUE;				break;			default:				++argerr;				break;		}	}    	if (optind > argc) {		++argerr;	}    	if (argerr) {		usage(crm_system_name,LSB_EXIT_GENERIC);	}    	/* read local config file */	crm_devel("do start");	return init_start();}