mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-11-24 05:56:02 +03:00
Merge pull request #41 from shyamjos/patch-1
added missing package - resolvconf
This commit is contained in:
commit
3b7a8c0362
@ -85,13 +85,13 @@ if [[ "$OS" = 'ubuntu' ]]; then
|
|||||||
add-apt-repository ppa:wireguard/wireguard
|
add-apt-repository ppa:wireguard/wireguard
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install "linux-headers-$(uname -r)"
|
apt-get install "linux-headers-$(uname -r)"
|
||||||
apt-get install wireguard iptables
|
apt-get install wireguard iptables resolvconf
|
||||||
elif [[ "$OS" = 'debian' ]]; then
|
elif [[ "$OS" = 'debian' ]]; then
|
||||||
echo "deb http://deb.debian.org/debian/ unstable main" > /etc/apt/sources.list.d/unstable.list
|
echo "deb http://deb.debian.org/debian/ unstable main" > /etc/apt/sources.list.d/unstable.list
|
||||||
printf 'Package: *\nPin: release a=unstable\nPin-Priority: 90\n' > /etc/apt/preferences.d/limit-unstable
|
printf 'Package: *\nPin: release a=unstable\nPin-Priority: 90\n' > /etc/apt/preferences.d/limit-unstable
|
||||||
apt update
|
apt update
|
||||||
apt-get install "linux-headers-$(uname -r)"
|
apt-get install "linux-headers-$(uname -r)"
|
||||||
apt install wireguard iptables
|
apt install wireguard iptables resolvconf
|
||||||
elif [[ "$OS" = 'fedora' ]]; then
|
elif [[ "$OS" = 'fedora' ]]; then
|
||||||
dnf copr enable jdoss/wireguard
|
dnf copr enable jdoss/wireguard
|
||||||
dnf install wireguard-dkms wireguard-tools iptables
|
dnf install wireguard-dkms wireguard-tools iptables
|
||||||
|
Loading…
Reference in New Issue
Block a user