This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
# 1. tailscale
# 检查是否为root用户
if [ $(id -u) != "0" ]; then
echo "错误:请使用root用户执行此脚本"
exit 1
fi
echo 'welcom init vpn'
curl -fsSL https://tailscale.com/install.sh | sh