mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-07 08:05:57 +02:00
Update 93-openvpn.sh
This commit is contained in:
@@ -115,7 +115,7 @@ if bashio::config.true 'openvpn_enabled'; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Send to openvpn script
|
# Send to openvpn script
|
||||||
sed -i "s|/config/openvpn/config.ovpn|/config/openvpn/$openvpn_config|g" /etc/s6-overlay/s6-rc.d/svc-qbittorrent
|
sed -i "1a export openvpn_config=\"$openvpn_config\"|g" /etc/s6-overlay/s6-rc.d/svc-qbittorrent
|
||||||
|
|
||||||
# Set credentials
|
# Set credentials
|
||||||
if bashio::config.has_value "openvpn_username"; then
|
if bashio::config.has_value "openvpn_username"; then
|
||||||
|
|||||||
Reference in New Issue
Block a user