mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update 99-run.sh
This commit is contained in:
@@ -93,7 +93,7 @@ if bashio::config.true "OPENVPN_CUSTOM_PROVIDER"; then
|
||||
fi
|
||||
|
||||
# Copy ovpn file
|
||||
sed -i "s|config_repo_temp_dir=\$(mktemp -d)|config_repo_temp_dir=/tmp2|g" /etc/openvpn/fetch-external-configs.sh
|
||||
sed -i "s|config_repo_temp_dir=\$(mktemp -d)|config_repo_temp_dir=/tmp/tmp2|g" /etc/openvpn/fetch-external-configs.sh
|
||||
echo "Copying ovpn file to proper location"
|
||||
mkdir -p /etc/openvpn/"$OPENVPN_PROVIDER"
|
||||
mkdir -p /tmp/tmp2/openvpn/"$OPENVPN_PROVIDER"
|
||||
|
||||
Reference in New Issue
Block a user