mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-06 07:35:56 +02:00
@@ -23,7 +23,7 @@ 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
|
||||||
if [ ! -f "$(bashio::config "OPENVPN_CUSTOM_PROVIDER_OVPN_LOCATION")" ]; then
|
if [ ! -f bashio::config "OPENVPN_CUSTOM_PROVIDER_OVPN_LOCATION" ]; then
|
||||||
bashio::log.fatal "Ovpn file not found at location provided : $OVPNLOCATION"
|
bashio::log.fatal "Ovpn file not found at location provided : $OVPNLOCATION"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user