1
1
mirror of https://github.com/angristan/wireguard-install.git synced 2024-10-31 18:52:31 +00:00

Update wireguard-install.sh

This commit is contained in:
liberodark 2019-12-18 00:51:39 +01:00 committed by GitHub
parent a72bfae905
commit 0467234c6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,7 @@ echo "Install WireGuard Server ($distribution)"
apt-get install -y "linux-headers-$(uname -r)" > /dev/null 2>&1
apt-get install -y wireguard iptables resolvconf --force-yes > /dev/null 2>&1
elif [ "$distribution" = "Debian" ]; then
elif [ "$distribution" = "Debian" ] || [ "$distribution" = "Raspbian" ]; then
add-apt-repository ppa:wireguard/wireguard
apt-get update > /dev/null 2>&1
apt-get install -y "linux-headers-$(uname -r)" > /dev/null 2>&1