diff options
author | Joseph Henry <josephjah@gmail.com> | 2018-09-17 11:44:56 -0700 |
---|---|---|
committer | Joseph Henry <josephjah@gmail.com> | 2018-09-17 11:44:56 -0700 |
commit | b8268d894b4dd0774eeb2bcd0009b818fe960b52 (patch) | |
tree | 6ee8df0a06f13028b1338c67c0b7d9a6a260f2e5 | |
parent | 7b87e9c0cb671227a10807c52779e8d81400d753 (diff) | |
download | infinitytier-b8268d894b4dd0774eeb2bcd0009b818fe960b52.tar.gz infinitytier-b8268d894b4dd0774eeb2bcd0009b818fe960b52.zip |
Changed home path for Synology
-rw-r--r-- | osdep/OSUtils.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/osdep/OSUtils.cpp b/osdep/OSUtils.cpp index e6c2f940..1e704d45 100644 --- a/osdep/OSUtils.cpp +++ b/osdep/OSUtils.cpp @@ -399,6 +399,10 @@ std::string OSUtils::platformDefaultHomePath() return homeDir; #endif +#ifdef __SYNOLOGY__ + return std::string("/var/packages/zerotier/target/var"); +#endif + // Check for user-defined environment variable before using defaults #ifdef __WINDOWS__ DWORD bufferSize = 65535; |