blob: ab28af56eb8630d0f4b1e9b01ddc1c3e5d67c920 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- ../svxlink-11.05.orig/svxlink/remotetrx/remotetrx.cpp 2011-04-21 06:45:13.000000000 -0700
+++ svxlink/remotetrx/remotetrx.cpp 2012-05-28 10:27:55.000000000 -0700
@@ -371,7 +371,7 @@
cfg_filename += "/.svxlink/remotetrx.conf";
if (!cfg.open(cfg_filename))
{
- cfg_filename = "/etc/svxlink/remotetrx.conf";
+ cfg_filename = "%%LOCALBASE%%/etc/svxlink/remotetrx.conf";
if (!cfg.open(cfg_filename))
{
cfg_filename = "/etc/remotetrx.conf";
@@ -379,7 +379,7 @@
{
cerr << "*** ERROR: Could not open configuration file. Tried:\n"
<< "\t" << home_dir << "/.svxlink/remotetrx.conf\n"
- << "\t/etc/svxlink/remotetrx.conf\n"
+ << "\t%%LOCALBASE%%/etc/svxlink/remotetrx.conf\n"
<< "\t/etc/remotetrx.conf\n"
<< "Possible reasons for failure are: None of the files exist,\n"
<< "you do not have permission to read the file or there was a\n"
|