Chmod chown mullvad

https://github.com/alexbelgium/hassio-addons/issues
This commit is contained in:
Alexandre
2022-11-29 22:40:18 +01:00
committed by GitHub
parent 8b28b98216
commit c4e7b22d75

View File

@@ -150,9 +150,8 @@ 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
chown "$PUID:$PGID" /etc/openvpn/mullvad/configure-openvpn.sh
chmod +x /etc/openvpn/mullvad/configure-openvpn.sh
fi
bashio::log.info "Starting app"