summaryrefslogtreecommitdiff
path: root/src/daemon/dlt-daemon.c
diff options
context:
space:
mode:
authorJacques GUILLOU <jacques.guillou@pelagicore.com>2014-11-19 12:48:18 +0100
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2015-04-02 13:44:03 +0200
commitcb4950d12a96cc51557e185fc555edd4b4a0ca62 (patch)
treec039ee2fa6253598e316754cca126bc3ece9e8ff /src/daemon/dlt-daemon.c
parent2cec5d20ae0b5361a84bfb8170335f2502ddd88f (diff)
downloadDLT-daemon-cb4950d12a96cc51557e185fc555edd4b4a0ca62.tar.gz
Remove absolute installation paths so that DLT can be installed at any location (not only "/usr").
Signed-off-by: Jacques GUILLOU <jacques.guillou@pelagicore.com>
Diffstat (limited to 'src/daemon/dlt-daemon.c')
-rw-r--r--src/daemon/dlt-daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/dlt-daemon.c b/src/daemon/dlt-daemon.c
index 6c44da5..b8b8ae9 100644
--- a/src/daemon/dlt-daemon.c
+++ b/src/daemon/dlt-daemon.c
@@ -91,7 +91,7 @@ void usage()
printf("Options:\n");
printf(" -d Daemonize\n");
printf(" -h Usage\n");
- printf(" -c filename DLT daemon configuration file (Default: /etc/dlt.conf)\n");
+ printf(" -c filename DLT daemon configuration file (Default: " CONFIGURATION_FILES_DIR "/dlt.conf)\n");
} /* usage() */
/**
@@ -196,7 +196,7 @@ int option_file_parser(DltDaemonLocal *daemon_local)
if(daemon_local->flags.cvalue[0])
filename = daemon_local->flags.cvalue;
else
- filename = "/etc/dlt.conf";
+ filename = CONFIGURATION_FILES_DIR "/dlt.conf";
//printf("Load configuration from file: %s\n",filename);
pFile = fopen (filename,"r");