mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Update common.sh
This commit is contained in:
parent
60d151b976
commit
1c3c6599fe
@ -352,21 +352,19 @@ function _prompt_install_openvpn() {
|
|||||||
|
|
||||||
# Prompt to install WireGuard
|
# Prompt to install WireGuard
|
||||||
function _prompt_install_wireguard() {
|
function _prompt_install_wireguard() {
|
||||||
if [ "$insiders" == 1 ]; then
|
_install_log "Configure WireGuard support"
|
||||||
_install_log "Configure WireGuard support"
|
echo -n "Install WireGuard and enable VPN tunnel configuration? [Y/n]: "
|
||||||
echo -n "Install WireGuard and enable VPN tunnel configuration? [Y/n]: "
|
if [ "$assume_yes" == 0 ]; then
|
||||||
if [ "$assume_yes" == 0 ]; then
|
read answer < /dev/tty
|
||||||
read answer < /dev/tty
|
if [ "$answer" != "${answer#[Nn]}" ]; then
|
||||||
if [ "$answer" != "${answer#[Nn]}" ]; then
|
echo -e
|
||||||
echo -e
|
|
||||||
else
|
|
||||||
_install_wireguard
|
|
||||||
fi
|
|
||||||
elif [ "$wg_option" == 1 ]; then
|
|
||||||
_install_wireguard
|
|
||||||
else
|
else
|
||||||
echo "(Skipped)"
|
_install_wireguard
|
||||||
fi
|
fi
|
||||||
|
elif [ "$wg_option" == 1 ]; then
|
||||||
|
_install_wireguard
|
||||||
|
else
|
||||||
|
echo "(Skipped)"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user