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:
@@ -45,6 +45,9 @@ for configFile in $provider/*.ovpn;
|
|||||||
# Set user-pass file location
|
# Set user-pass file location
|
||||||
sed -i "s/auth-user-pass.*/auth-user-pass \/config\/openvpn-credentials.txt/g" "$configFile"
|
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
|
done
|
||||||
|
|
||||||
echo "Updated all .ovpn files in folder $provider"
|
echo "Updated all .ovpn files in folder $provider"
|
||||||
|
Reference in New Issue
Block a user