From 905174d95a61a37bdbe7ed6bb7a0fc43a6d7f85e Mon Sep 17 00:00:00 2001 From: Guilherme Maciel Ferreira Date: Thu, 3 Mar 2011 17:30:11 +0100 Subject: [PATCH] Renamed config directory to conf, in order to avoid confusion with the directory name inside src --- conf/pingcheck.conf | 5 +++++ config/pingcheck.cfg | 5 ----- src/config/configurationreader.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 conf/pingcheck.conf delete mode 100644 config/pingcheck.cfg diff --git a/conf/pingcheck.conf b/conf/pingcheck.conf new file mode 100644 index 0000000..08edd6f --- /dev/null +++ b/conf/pingcheck.conf @@ -0,0 +1,5 @@ +limit-to-notify=5 + +[host] +name=www.intra2net.com +interval=2 \ No newline at end of file diff --git a/config/pingcheck.cfg b/config/pingcheck.cfg deleted file mode 100644 index 08edd6f..0000000 --- a/config/pingcheck.cfg +++ /dev/null @@ -1,5 +0,0 @@ -limit-to-notify=5 - -[host] -name=www.intra2net.com -interval=2 \ No newline at end of file diff --git a/src/config/configurationreader.cpp b/src/config/configurationreader.cpp index 4b6cbf3..adf9525 100644 --- a/src/config/configurationreader.cpp +++ b/src/config/configurationreader.cpp @@ -18,7 +18,7 @@ ConfigurationReader::ConfigurationReader() : VersionCmdDesc( "Print the version string and exit." ), HelpCmdStr( "help" ), HelpCmdDesc( "Print this help and exit." ), - DefaultConfigFileName( "pingcheck.cfg" ), + DefaultConfigFileName( "pingcheck.conf" ), ConfigFileCmdStr( "config-file" ), ConfigFileCmdDesc( "Name of the configuration file." ), DefaultLimitToNotify( 4 ), -- 1.7.1