mirror of
https://github.com/angristan/wireguard-install.git
synced 2025-04-05 03:43:30 +03:00
Update wireguard-install.sh
This commit is contained in:
parent
a72bfae905
commit
0467234c6b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue