mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update 99-run.sh
This commit is contained in:
@@ -80,8 +80,6 @@ done
|
|||||||
|
|
||||||
if bashio::config.true "OPENVPN_CUSTOM_PROVIDER"; then
|
if bashio::config.true "OPENVPN_CUSTOM_PROVIDER"; then
|
||||||
|
|
||||||
sed -i "s|config_repo_temp_dir=$(mktemp -d)|config_repo_temp_dir=/tmp|g" /etc/openvpn/fetch-external-configs.sh
|
|
||||||
|
|
||||||
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%.*}"
|
||||||
|
|||||||
Reference in New Issue
Block a user