8 lines
227 B
Plaintext
8 lines
227 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
if [[ $GOOGLE_CLOUD_SHELL = "" ]]; then
|
||
|
nohup sudo tailscaled --statedir=~/.config/tailscaled >/dev/null &
|
||
|
else
|
||
|
nohup sudo tailscaled --tun=userspace-networking --socks5-server=localhost:1088 >/dev/null &
|
||
|
fi
|