blob: 49fb07c5f0a3716865b0066f236174ccafa70fb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
index d01de89..a16479c 100755
--- a/main.cpp
+++ b/main.cpp
@@ -345,15 +345,11 @@ int main(int argc, const char * argv[])
{
int ret = 0;
bool background = false, redirect_to_null = false;
- std::string config_path = "EasyDrcom.conf";
+ std::string config_path = "/etc/EasyDrcom.conf";
auto clog_def = std::clog.rdbuf();
auto cout_def = std::cout.rdbuf();
auto cerr_def = std::cerr.rdbuf();
-#ifdef OPENWRT
std::string log_path = "/tmp/EasyDrcom.log";
-#else
- std::string log_path = "EasyDrcom.log";
-#endif
for (int i = 1; i < argc; i++)
{
--
2.10.2
|