1
1
mirror of https://github.com/angristan/wireguard-install.git synced 2024-06-11 15:42:24 +00:00

Will not be installed but necessary

This is required for a fresh installation because otherwise it cannot be started. Without this change, the error message "RTNETLINK answers: Operation not supported" is output at the start.
This commit is contained in:
Alexander-Ger-Reich 2021-05-29 13:47:18 +02:00 committed by GitHub
parent d91423643c
commit d3734196a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,8 +132,8 @@ function installWireGuard() {
apt-get update
fi
apt update
apt-get install -y iptables resolvconf qrencode
apt-get install -y -t buster-backports wireguard
apt-get install -y iptables resolvconf qrencode
apt-get install -y -t buster-backports wireguard wireguard-dkms
elif [[ ${OS} == 'fedora' ]]; then
if [[ ${VERSION_ID} -lt 32 ]]; then
dnf install -y dnf-plugins-core