Merge pull request #2621 from alexbelgium/copilot/fix-openvpn-config-selection

Fix OpenVPN startup failure: bad substitution in verbosity parameter
This commit is contained in:
Alexandre
2026-04-01 13:28:52 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -143,4 +143,4 @@ schema:
slug: qbittorrent
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: "5.1.4-20"
version: "5.1.4-21"

View File

@@ -514,7 +514,7 @@ _openvpn_up() {
--config "${config["ConfigFile"]}" \
--client \
--daemon \
--verb ${verbosity[${$log_level}]} \
--verb ${verbosity[${log_level}]} \
--log "/proc/1/fd/1" \
--script-security 2 \
--auth-user-pass "${OPENVPN_STATE_DIR}/credentials.conf" \