From f319ab8f183e6b901ce3be696f7bb338fc1a50e2 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 23 Apr 2021 22:35:30 +0200 Subject: [PATCH] Update 93-openvpn.sh --- qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh index edff797bb..dd3104c33 100644 --- a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh @@ -20,7 +20,8 @@ if bashio::config.true 'openvpn_enabled'; then echo "${openvpn_password}" >> /etc/openvpn/credentials sed -i 's/auth-user-pass.*/auth-user-pass \/etc\/openvpn\/credentials/g' /etc/openvpn/config.ovpn - + touch /etc/openvpn/up.sh + touch /etc/openvpn/down.sh sed -i "1a\/etc/openvpn/up-qbittorrent.sh \"\${4}\" &\n" /etc/openvpn/up.sh bashio::log.info "openvpn correctly set, please modify manually qbittorrent options to select it"