mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Add resolvconf to wireguard install
This commit is contained in:
parent
7858bb5739
commit
54ec50c27f
1 changed files with 1 additions and 1 deletions
|
@ -509,7 +509,7 @@ function _install_wireguard() {
|
|||
echo 'deb http://ftp.debian.org/debian buster-backports main' | sudo tee /etc/apt/sources.list.d/buster-backports.list || _install_status 1 "Unable to add Debian backports repo"
|
||||
fi
|
||||
echo "Installing wireguard from apt"
|
||||
sudo apt-get install -y wireguard || _install_status 1 "Unable to install wireguard"
|
||||
sudo apt-get install -y wireguard resolvconf || _install_status 1 "Unable to install wireguard"
|
||||
echo "Enabling wg-quick@wg0"
|
||||
sudo systemctl enable wg-quick@wg0 || _install_status 1 "Failed to enable wg-quick service"
|
||||
echo "Enabling WireGuard management option"
|
||||
|
|
Loading…
Reference in a new issue