blob: 4066ab07e5f64424c7e14f9570e59f02d5335808 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- dao/main.cc.orig 2023-02-03 14:46:06 UTC
+++ dao/main.cc
@@ -2450,11 +2450,7 @@ int main(int argc, char **argv)
Settings* settings = new Settings;
- settingsPath = "/etc/cdrdao.conf";
- if (settings->read(settingsPath) == 0)
- log_message(3, "Read settings from \"%s\".", settingsPath);
-
- settingsPath = "/etc/defaults/cdrdao";
+ settingsPath = "%%PREFIX%%/etc/cdrdao.conf";
if (settings->read(settingsPath) == 0)
log_message(3, "Read settings from \"%s\".", settingsPath);
|