Disabling modification for mullvad

https://github.com/alexbelgium/hassio-addons/issues/494#issuecomment-1330634155
This commit is contained in:
Alexandre
2022-11-29 21:26:01 +01:00
committed by GitHub
parent 36fb29769f
commit 0e613ddc16

View File

@@ -148,12 +148,12 @@ chmod +x /etc/transmission/userSetup.sh
echo ""
# Correct mullvad
if [ "$(bashio::config "OPENVPN_PROVIDER")" == "mullvad" ]; then
bashio::log.info "Removing IPv6 from mullvad"
sed -i '$i/opt/modify-mullvad.sh' /etc/openvpn/start.sh
chown "$PUID:$PGID" /opt/modify-mullvad.sh
chmod +x /opt/modify-mullvad.sh
fi
#if [ "$(bashio::config "OPENVPN_PROVIDER")" == "mullvad" ]; then
# bashio::log.info "Removing IPv6 from mullvad"
# sed -i '$i/opt/modify-mullvad.sh' /etc/openvpn/start.sh
# chown "$PUID:$PGID" /opt/modify-mullvad.sh
# chmod +x /opt/modify-mullvad.sh
#fi
bashio::log.info "Starting app"
/./etc/openvpn/start.sh & echo ""