From c38af264d006c07b75cc39c66d57f33132421fa6 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 30 Dec 2023 19:20:28 +0100 Subject: [PATCH] Remove custom up and down --- qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh index aa7c49d08..836c05993 100755 --- a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh @@ -59,6 +59,10 @@ if bashio::config.true 'openvpn_enabled'; then # Standardize lf dos2unix "$file" + # Remove custom up & down + sed -i '/^up /s/^/#/' "$file" + sed -i '/^down /s/^/#/' "$file" + # Remove blank lines sed -i '/^[[:blank:]]*$/d' "$file"