summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-16 11:26:18 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-16 11:26:18 -0300
commitec31b0a5b04bc63daafcca51f505200764cb4730 (patch)
treef696522a50ed35f34e992ac2820a89d2054ae062
parent41ddc178c85ea1c58de365433204b78ae5b4b84a (diff)
Added vpn_service replacement
-rwxr-xr-xinstall.sh3
1 files changed, 2 insertions, 1 deletions
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>;$install_location;g" $filename
# Set VPN
if [ $setup_vpn == "y" ]; then
+ sed -i -e "s;<vpn_service>;$vpn_service;g" $filename
sed -i -e "s;<vpn_user>;$vpn_user;g" $filename
sed -i -e "s;<vpn_country>;$vpn_country;g" $filename
sed -i -e "s;<vpn_password>;$vpn_password;g" $filename