(file) Return to cimserver.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Server

Diff for /pegasus/src/Server/cimserver.cpp between version 1.34.2.1 and 1.34.2.2

version 1.34.2.1, 2001/07/31 23:54:39 version 1.34.2.2, 2001/08/01 03:40:08
Line 206 
Line 206 
  
     // Get environment variables     // Get environment variables
  
       if (pegasusHome.size() == 0)
     for (int i=0; i < argc; i++) {     for (int i=0; i < argc; i++) {
         if (!strcmp(argv[i],"-D")) {         if (!strcmp(argv[i],"-D")) {
             i++;             i++;
Line 281 
Line 282 
         // Check to see if we should (can) install as a NT service         // Check to see if we should (can) install as a NT service
         //         //
  
         if (String::equal(configManager->getCurrentValue("install"), "true"))          if (configManager->isInstallFlagSet())
         {         {
             if( 0 != cimserver_install_nt_service( pegasusHome ))             if( 0 != cimserver_install_nt_service( pegasusHome ))
             {             {
Line 294 
Line 295 
         // Check to see if we should (can) remove Pegasus as an NT service         // Check to see if we should (can) remove Pegasus as an NT service
         //         //
  
         if (String::equal(configManager->getCurrentValue("remove"), "true"))          if (configManager->isRemoveFlagSet())
         {         {
             if( 0 != cimserver_remove_nt_service() )             if( 0 != cimserver_remove_nt_service() )
             {             {
Line 307 
Line 308 
         // Check to see if we should Pegasus as a daemon         // Check to see if we should Pegasus as a daemon
         //         //
  
         if (String::equal(configManager->getCurrentValue("daemon"), "true"))          if (configManager->isDaemonFlagSet())
         {         {
             daemonOption = true;             daemonOption = true;
         }         }
Line 350 
Line 351 
         // ATTN: Need tool to completely disable logging.         // ATTN: Need tool to completely disable logging.
         Logger::setHomeDirectory(logsDirectory);         Logger::setHomeDirectory(logsDirectory);
  
         if (String::equal(configManager->getCurrentValue("cleanlogs"), "true"))          if (configManager->isCleanLogsFlagSet())
         {         {
             Logger::clean(logsDirectory);;             Logger::clean(logsDirectory);;
         }         }
Line 358 
Line 359 
         // Leave this in until people get familiar with the logs.         // Leave this in until people get familiar with the logs.
         cout << "Logs Directory = " << logsDirectory << endl;         cout << "Logs Directory = " << logsDirectory << endl;
  
         if (String::equal(configManager->getCurrentValue("slp"), "true"))          if (configManager->isSlpFlagSet())
         {         {
             useSLP =  true;             useSLP =  true;
         }         }


Legend:
Removed from v.1.34.2.1  
changed lines
  Added in v.1.34.2.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2