diff --git a/menu.sh b/menu.sh index 7438ec4..02e2cd6 100644 --- a/menu.sh +++ b/menu.sh @@ -69,7 +69,7 @@ function dependence(){ # 安装一些必要的网络工具包和wireguard-tools (Wire-Guard 配置工具:wg、wg-quick) apt -y --no-install-recommends install net-tools iproute2 openresolv dnsutils wireguard-tools - + # 如 Linux 版本低于5.6并且是 kvm,则安装 wireguard 内核模块 if [[ $wg == 1 ]]; then apt -y --no-install-recommends install linux-headers-$(uname -r);apt -y --no-install-recommends install wireguard-dkms; fi