You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd
Anton Tolchanov c070d39287 cmd/tailscaled: handle tailscaled symlink on macOS
When Tailscale is installed via Homebrew, `/usr/local/bin/tailscaled`
is a symlink to the actual binary.

Now when `tailscaled install-system-daemon` runs, it will not attempt
to overwrite that symlink if it already points to the tailscaled binary.
However, if executed binary and the link target differ, the path will
he overwritten - this can happen when a user decides to replace
Homebrew-installed tailscaled with a one compiled from source code.

Fixes #5353

Signed-off-by: Anton Tolchanov <anton@tailscale.com>
3 years ago
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 5 years ago
cloner cmd/{cloner,viewer}: add support for map values with pointers 4 years ago
derper all: fix spelling mistakes 3 years ago
derpprobe net/stun: convert to use net/netip.AddrPort 3 years ago
gitops-pusher cmd/gitops-pusher: standardize hujson before posting to validate (#5525) 3 years ago
hello refactor: move from io/ioutil to io and os packages 3 years ago
mkpkg cmd/mkpkg: use package flag (#4373) 4 years ago
nginx-auth cmd/nginx-auth/nginx-auth: update auth to allow for new domains 3 years ago
pgproxy cmd/pgproxy: link to blog post at the top. 3 years ago
printdep Docker: add ALPINE.txt to manage alpine versions 4 years ago
proxy-to-grafana all: gofmt for Go 1.19 4 years ago
speedtest net/speedtest: retune to meet iperf on localhost in a VM 3 years ago
ssh-auth-none-demo cmd/ssh-auth-none-demo: put the hostname in the package doc 3 years ago
tailscale wgengine/magicsock: make debug-level stuff not logged by default 3 years ago
tailscaled cmd/tailscaled: handle tailscaled symlink on macOS 3 years ago
testcontrol all: use any instead of interface{} 4 years ago
tsconnect all: fix more resource leaks found by staticmajor 3 years ago
tsshd cmd/tsshd: add a package line to appease gofmt 4 years ago
viewer all: fix spelling mistakes 3 years ago