mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update 93-openvpn.sh
This commit is contained in:
@@ -65,11 +65,6 @@ if bashio::config.true 'openvpn_enabled'; then
|
||||
# Correct paths
|
||||
sed -i "s=/etc/openvpn=/config/openvpn=g" /etc/openvpn/config.ovpn
|
||||
|
||||
# Remove ipv6
|
||||
if grep -q "ipv6" /etc/openvpn/config.ovpn; then
|
||||
bashio::log.warning "ipv6 configured in the ovpn file but not compatible with the addon. You should remove it."
|
||||
fi
|
||||
|
||||
# Set credentials
|
||||
if bashio::config.has_value "openvpn_username"; then
|
||||
openvpn_username=$(bashio::config 'openvpn_username')
|
||||
|
||||
Reference in New Issue
Block a user