From ec31b0a5b04bc63daafcca51f505200764cb4730 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Mon, 16 Jan 2023 11:26:18 -0300 Subject: Added vpn_service replacement --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index e87c763..71d4516 100755 --- a/install.sh +++ b/install.sh @@ -124,7 +124,7 @@ if [ $setup_vpn == "y" ]; then read -p "What's your VPN username? (without spaces): " vpn_user read -sp "What's your VPN password? (if you are using mullvad, just enter your username again): " vpn_password echo "What country do you want to use?" - read -p "You can check the countries list for your VPN here: https://github.com/qdm12/gluetun/wiki/$vpn_service [brazil]: " vpn_country + read -p "You can check the countries list for your VPN here: https://github.com/qdm12/gluetun/wiki/$vpn_service#servers [brazil]: " vpn_country vpn_country=${vpn_country:-"brazil"} fi @@ -155,6 +155,7 @@ sed -i -e "s;;$install_location;g" $filename # Set VPN if [ $setup_vpn == "y" ]; then + sed -i -e "s;;$vpn_service;g" $filename sed -i -e "s;;$vpn_user;g" $filename sed -i -e "s;;$vpn_country;g" $filename sed -i -e "s;;$vpn_password;g" $filename -- cgit v1.2.3