From cc77c5ee04fcf7faf1b3625b8a46f3b0f30d2a0c Mon Sep 17 00:00:00 2001 From: raulmateos Date: Tue, 20 Jan 2009 07:58:22 +0000 Subject: [PATCH] 2009-01-20 Raul Mateos * lib/PandoraFMS/Config.pm: Changed some texts again. * Changelog: Changed last commit date. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1359 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 7 ++++++- pandora_server/lib/PandoraFMS/Config.pm | 14 +++++++------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 248e6f4ce3..df6c1b732d 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,4 +1,9 @@ -2009-01-16 Sancho Lerena +2009-01-20 Raul Mateos + + * lib/PandoraFMS/Config.pm: Changed some texts again. + * Changelog: Changed last commit date. + +2009-01-19 Sancho Lerena * pandora_wmi, pandora_plugin, pandora_recon: Updates merged from 2.0 version. Different small fixes and improved performance. diff --git a/pandora_server/lib/PandoraFMS/Config.pm b/pandora_server/lib/PandoraFMS/Config.pm index 1134c16594..107b1480da 100644 --- a/pandora_server/lib/PandoraFMS/Config.pm +++ b/pandora_server/lib/PandoraFMS/Config.pm @@ -54,12 +54,12 @@ my %pa_config; sub help_screen { printf "\nSyntax: \n\n pandora_server [ options ] < fullpathname to configuration file > \n\n"; printf "Following options are optional : \n"; - printf " -v : Verbose mode activated, give more information in logfile \n"; - printf " -d : Debug mode activated, give extensive information in logfile \n"; - printf " -D : Daemon mode (runs in backgroup)\n"; + printf " -v : Verbose mode activated, write more information in logfile \n"; + printf " -d : Debug mode activated, write extensive information in logfile \n"; + printf " -D : Daemon mode (runs in background)\n"; printf " -P : Store PID to file.\n"; printf " -q : Quiet startup\n"; - printf " -h : This screen, show a little help screen \n"; + printf " -h : This screen. It shows a little help screen \n"; printf " \n"; exit; } @@ -78,11 +78,11 @@ sub pandora_init { # Load config file from command line if ($#ARGV == -1 ){ - print "I Need at least one parameter: Complete path to Pandora FMS Server configuration file. \n"; + print "I need at least one parameter: Complete path to Pandora FMS Server configuration file. \n"; help_screen; exit; } - $pa_config->{"verbosity"}=0; # Verbose 1 by default + $pa_config->{"verbosity"}=0; # Verbose 0 by default $pa_config->{"daemon"}=0; # Daemon 0 by default $pa_config->{'PID'}=""; # PID file not exist by default $pa_config->{"quiet"}=0; # Daemon 0 by default @@ -115,7 +115,7 @@ sub pandora_init { } } if ($pa_config->{"pandora_path"} eq ""){ - print " [ERROR] I Need at least one parameter: Complete path to Pandora FMS configuration file. \n"; + print " [ERROR] I need at least one parameter: Complete path to Pandora FMS configuration file. \n"; print " For example: ./pandora_server /etc/pandora/pandora_server.conf\n\n"; exit; }