#!/bin/bash # 1. 拉取frp.tar.gz # todo 后续开发 # 检查是否为root用户 if [ $(id -u) != "0" ]; then echo "错误:请使用root用户执行此脚本" exit 1 fi