if (crmd_mainloop != NULL && g_main_is_running(crmd_mainloop)) { s_crmd_fsa(C_SHUTDOWN, I_SHUTDOWN, NULL);  } else { exit(LSB_EXIT_OK);  }
FNOUT();
shutdown(int nsig){    static int	shuttingdown = 0;    CL_SIGNAL(nsig, shutdown);      if (!shuttingdown) {		shuttingdown = 1;    }    if (crmd_mainloop != NULL && g_main_is_running(crmd_mainloop)) {	    s_crmd_fsa(C_SHUTDOWN, I_SHUTDOWN, NULL);    } else {		exit(LSB_EXIT_OK);		    }}