cleanup comments

This commit is contained in:
John Bowdre 2023-12-29 09:42:55 -06:00
parent 0607edef46
commit abe2074cbc

View file

@ -1,7 +1,6 @@
#!/bin/ash #!/bin/ash
trap 'kill -TERM $PID' TERM INT trap 'kill -TERM $PID' TERM INT
echo "Starting Tailscale daemon" echo "Starting Tailscale daemon"
# -state=mem: will logout and remove ephemeral node from network immediately after ending.
tailscaled --tun=userspace-networking --state=${TS_STATE} ${TS_OPT} & tailscaled --tun=userspace-networking --state=${TS_STATE} ${TS_OPT} &
PID=$! PID=$!
until tailscale up --authkey="${TS_AUTHKEY}" --hostname="${TS_HOSTNAME}"; do until tailscale up --authkey="${TS_AUTHKEY}" --hostname="${TS_HOSTNAME}"; do