mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-02 12:08:46 +02:00
Update run
https://github.com/alexbelgium/hassio-addons/issues/1127#issuecomment-1867877534
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
set -e
|
|
||||||
|
|
||||||
WEBUI_PORT=${WEBUI_PORT:-8080}
|
WEBUI_PORT=${WEBUI_PORT:-8080}
|
||||||
|
|
||||||
@@ -9,8 +8,7 @@ if bashio::config.true 'silent'; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if bashio::config.true 'openvpn_enabled'; then
|
if bashio::config.true 'openvpn_enabled'; then
|
||||||
cd /etc/openvpn || true
|
exec /usr/sbin/openvpn --config /etc/openvpn/config.ovpn --script-security 2 --up /etc/openvpn/up.sh --down /etc/openvpn/down.sh --pull-filter ignore "route-ipv6" --pull-filter ignore "ifconfig-ipv6" --pull-filter ignore "tun-ipv6" --pull-filter ignore "redirect-gateway ipv6" --pull-filter ignore "dhcp-option DNS6"
|
||||||
exec /usr/sbin/openvpn --config /etc/openvpn/config.ovpn --script-security 2 --up /etc/openvpn/up.sh --down /etc/openvpn/down.sh
|
|
||||||
else
|
else
|
||||||
if bashio::config.true 'silent'; then
|
if bashio::config.true 'silent'; then
|
||||||
exec \
|
exec \
|
||||||
|
|||||||
Reference in New Issue
Block a user