mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Update 99-run.sh
This commit is contained in:
@@ -20,6 +20,7 @@ if bashio::config.true "OPENVPN_CUSTOM_PROVIDER"; then
|
|||||||
OVPNLOCATION="$(bashio::config "OPENVPN_CUSTOM_PROVIDER_OVPN_LOCATION")"
|
OVPNLOCATION="$(bashio::config "OPENVPN_CUSTOM_PROVIDER_OVPN_LOCATION")"
|
||||||
OPENVPN_PROVIDER="${OVPNLOCATION##*/}"
|
OPENVPN_PROVIDER="${OVPNLOCATION##*/}"
|
||||||
OPENVPN_PROVIDER="${OPENVPN_PROVIDER%.*}"
|
OPENVPN_PROVIDER="${OPENVPN_PROVIDER%.*}"
|
||||||
|
OPENVPN_PROVIDER="${OPENVPN_PROVIDER,,}"
|
||||||
bashio::log.info "Custom openvpn provider selected"
|
bashio::log.info "Custom openvpn provider selected"
|
||||||
|
|
||||||
# Check that ovpn file exists
|
# Check that ovpn file exists
|
||||||
|
|||||||
Reference in New Issue
Block a user