Update t.sh

Former-commit-id: 58f3d45e4c9bd89b8e1441b970b26bc2fc678c2f
This commit is contained in:
fscarmen
2021-10-18 19:48:31 +08:00
committed by GitHub
parent 3afbe85311
commit bfa35cb8a3
+1 -1
View File
@@ -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