laforge
/
openbts-osmo
Archived
1
0
Fork 0

Better comments for previous commit.

master
Alexander Chemeris 12 years ago committed by Thomas Tsou
parent 8598e72800
commit aec7d8c604
  1. 7
      public-trunk/apps/OpenBTS.cpp

@ -295,20 +295,19 @@ int main(int argc, char *argv[])
{
srandom(time(NULL));
// Signal to re-read config
// Catch signal to re-read config
if (signal(SIGHUP, signalHandler) == SIG_ERR) {
CERR("Error while setting handler for SIGHUP.");
}
// Signal to shutdown gracefully
// Catch signal to shutdown gracefully
if (signal(SIGTERM, signalHandler) == SIG_ERR) {
CERR("Error while setting handler for SIGTERM.");
}
// Ctrl-C signal
// Catch Ctrl-C signal
if (signal(SIGINT, signalHandler) == SIG_ERR) {
CERR("Error while setting handler for SIGINT.");
}
COUT("\n\n" << gOpenBTSWelcome << "\n");
if (gConfig.defines("Log.FileName")) {