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
e874ddfa97
commit
988b948207
1 changed files with 2 additions and 0 deletions
|
@ -166,6 +166,8 @@ echo "Install WireGuard Server ($distribution)"
|
|||
dnf install -y wireguard-dkms wireguard-tools iptables > /dev/null 2>&1
|
||||
|
||||
elif [ "$distribution" = "Ubuntu" ] || [ "$distribution" = "Deepin" ]; then
|
||||
apt-get update > /dev/null 2>&1
|
||||
apt-get install -y software-properties-common
|
||||
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