mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Launch mullvad mod script
Co-author : @Blogshot https://github.com/alexbelgium/hassio-addons/issues/494
This commit is contained in:
@@ -150,11 +150,7 @@ echo ""
|
||||
# Correct mullvad
|
||||
if [ "$(bashio::config "OPENVPN_PROVIDER")" == "mullvad" ]; then
|
||||
bashio::log.info "Removing IPv6 from mullvad"
|
||||
# shellcheck disable=SC2044
|
||||
for folder in $(find / -type d -name "mullvad"); do
|
||||
echo "pull-filter ignore \"route-ipv6\"" | tee -a "$folder/"*.ovpn > /dev/null
|
||||
echo "pull-filter ignore \"ifconfig-ipv6\"" | tee -a "$folder/"*.ovpn > /dev/null
|
||||
done
|
||||
sed -i '$i/opt/modify-mullvad.sh' /etc/openvpn/start.sh
|
||||
fi
|
||||
|
||||
bashio::log.info "Starting app"
|
||||
|
||||
Reference in New Issue
Block a user