mirror of
https://gitlab.com/fscarmen/warp.git
synced 2026-06-25 15:42:40 +08:00
Update t.sh
Former-commit-id: 58f3d45e4c9bd89b8e1441b970b26bc2fc678c2f
This commit is contained in:
@@ -186,7 +186,7 @@ install(){
|
||||
|
||||
# 如 Linux 版本低于5.6并且是 kvm,则安装 wireguard 内核模块
|
||||
[[ $WG = 1 ]] && curl -Lo /etc/yum.repos.d/wireguard.repo https://copr.fedorainfracloud.org/coprs/jdoss/wireguard/repo/epel-7/jdoss-wireguard-epel-7.repo &&
|
||||
yum -y install epel-release wireguard-dkms
|
||||
yum -y install wireguard-dkms
|
||||
|
||||
# 升级所有包同时也升级软件和系统内核
|
||||
yum -y update
|
||||
|
||||
Reference in New Issue
Block a user