safesocket, paths: add Plan 9 support
Updates #5794 Change-Id: I69150ec18d101f55baabb38613512cde858447cb Co-authored-by: Brad Fitzpatrick <bradfitz@tailscale.com> Signed-off-by: Skip Tavakkolian <skip.tavakkolian@gmail.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
51d3220153
commit
6fd1961cd7
@@ -27,6 +27,9 @@ func DefaultTailscaledSocket() string {
|
||||
if runtime.GOOS == "darwin" {
|
||||
return "/var/run/tailscaled.socket"
|
||||
}
|
||||
if runtime.GOOS == "plan9" {
|
||||
return "/srv/tailscaled.sock"
|
||||
}
|
||||
switch distro.Get() {
|
||||
case distro.Synology:
|
||||
if distro.DSMVersion() == 6 {
|
||||
|
||||
Reference in New Issue
Block a user