adjustConfigs: delete lines with resolv-conf

Mullvad ovpn configs had up and down calls to a script, that was
removed, since it was causing issues on connect (transmission wasn't
launching, meaning the connection wasn't coming up)
This commit is contained in:
Julian Fessard
2019-01-07 00:25:59 -08:00
parent 07005fe442
commit a674a8f07e

View File

@@ -45,6 +45,9 @@ for configFile in $provider/*.ovpn;
# Set user-pass file location
sed -i "s/auth-user-pass.*/auth-user-pass \/config\/openvpn-credentials.txt/g" "$configFile"
# Remove up/down resolv-conf script calls (Mullvad)
sed -i "/update-resolv-conf/d" "$configFile"
done
echo "Updated all .ovpn files in folder $provider"