From 962c087eafb6a4d441ab594e28e67795dc70ebcb Mon Sep 17 00:00:00 2001 From: Chester Date: Wed, 1 Nov 2023 14:00:43 +0800 Subject: [PATCH] remove resolvconf from installation --- wireguard-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wireguard-install.sh b/wireguard-install.sh index 2f95ecb..a7d40cf 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -173,14 +173,14 @@ function installWireGuard() { # Install WireGuard tools and module if [[ ${OS} == 'ubuntu' ]] || [[ ${OS} == 'debian' && ${VERSION_ID} -gt 10 ]]; then apt-get update - apt-get install -y wireguard iptables resolvconf qrencode + apt-get install -y wireguard iptables qrencode elif [[ ${OS} == 'debian' ]]; then if ! grep -rqs "^deb .* buster-backports" /etc/apt/; then echo "deb http://deb.debian.org/debian buster-backports main" >/etc/apt/sources.list.d/backports.list apt-get update fi apt update - apt-get install -y iptables resolvconf qrencode + apt-get install -y iptables qrencode apt-get install -y -t buster-backports wireguard elif [[ ${OS} == 'fedora' ]]; then if [[ ${VERSION_ID} -lt 32 ]]; then