Fix sed command for OpenVPN runtime config

This commit is contained in:
Alexandre
2026-02-03 21:31:19 +01:00
committed by GitHub
parent 8c5171b027
commit c69440da1a

View File

@@ -91,7 +91,7 @@ sed -i '/^route/d' "${openvpn_runtime_config}"
sed -i '/^auth-user-pass /d' "${openvpn_runtime_config}"
sed -i '/^cd /d' "${openvpn_runtime_config}"
sed -i '/^chroot /d' "${openvpn_runtime_config}"
sed -i '\$q' "${openvpn_runtime_config}"
sed -i '$q' "${openvpn_runtime_config}"
bashio::log.info 'Prepared OpenVPN runtime configuration for initial connection attempt.'