mirror of
https://gitlab.com/fscarmen/warp.git
synced 2026-06-25 15:42:40 +08:00
Update t.sh
Former-commit-id: 0c7dbb1e9a3de10c1a6b2dafe94032e1949092fc
This commit is contained in:
@@ -90,7 +90,8 @@ function dependence(){
|
||||
yum -y install net-tools wireguard-tools
|
||||
|
||||
# 如 Linux 版本低于5.6并且是 kvm,则安装 wireguard 内核模块
|
||||
if [[ $wg == 1 ]]; then 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; fi
|
||||
if [[ $wg == 1 ]]; then 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; fi
|
||||
|
||||
# 升级所有包同时也升级软件和系统内核
|
||||
yum -y update
|
||||
|
||||
Reference in New Issue
Block a user