mirror of
https://gitlab.com/fscarmen/warp.git
synced 2026-06-23 22:52:39 +08:00
Update t.sh
Former-commit-id: dda644023a8f7ee02335e19dbd73e5f2ce370c41
This commit is contained in:
@@ -63,7 +63,7 @@ function status(){
|
||||
clear
|
||||
yellow " 本项目专为 VPS 添加 wgcf 网络接口,详细说明:https://github.com/fscarmen/warp \n 脚本特点: \n * 根据不同系统综合情况显示不同的菜单,避免出错 \n * 结合 Linux 版本和虚拟化方式,自动优选三个 WireGuard 方案。网络性能方面:内核集成 WireGuard>安装内核模块>wireguard-go \n * 智能判断 WGCF 作者 github库的最新版本 (Latest release) \n * 智能判断vps操作系统:Ubuntu 18.04、Ubuntu 20.04、Debian 10、Debian 11、CentOS 7、CentOS 8,请务必选择 LTS 系统 \n * 智能判断硬件结构类型:Architecture 为 AMD 或者 ARM \n * 智能分析内网和公网IP生成 WGCF 配置文件 \n * 结束后会有结果提示,并自动清理安装时的临时文件 \n "
|
||||
red " ====================================================================================================================== \n "
|
||||
green " 当前操作系统:$(hostnamectl | grep -i operating | awk -F ':' '{print $2}'),内核:$(uname -r), 处理器架构:$architecture, 虚拟化:$(hostnamectl | grep -i virtualization | awk -F ': ' '{print $2}') \n IPv4:$(wget -T1 -t1 -qO- -4 ip.gs) IPv6:$(wget -T1 -t1 -qO- -6 ip.gs) $wgcf \n "
|
||||
green " 系统信息: /n 当前操作系统:$(hostnamectl | grep -i operating | awk -F ':' '{print $2}') 内核:$(uname -r) 处理器架构:$architecture 虚拟化:$(hostnamectl | grep -i virtualization | awk -F ': ' '{print $2}') \n IPv4:$(wget -T1 -t1 -qO- -4 ip.gs) IPv6:$(wget -T1 -t1 -qO- -6 ip.gs) $wgcf \n "
|
||||
# green " 当前操作系统:$(hostnamectl | grep -i operating | awk -F ':' '{print $2}'),内核:$(uname -r), 处理器架构:$architecture, 虚拟化:$(hostnamectl | grep -i virtualization | awk -F ': ' '{print $2}') "
|
||||
# green " IPv4:$(wget -T1 -t1 -qO- -4 ip.gs) IPv6:$(wget -T1 -t1 -qO- -6 ip.gs) $wgcf \n "
|
||||
red " ====================================================================================================================== \n "
|
||||
|
||||
Reference in New Issue
Block a user