From 3648859b82c32cbfb4da338e5f9627f5122232ca Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 4 May 2022 19:01:00 +0200 Subject: [PATCH] Update 93-openvpn.sh --- qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh index d901f92df..04da77c70 100644 --- a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh @@ -8,14 +8,6 @@ declare openvpn_password QBT_CONFIG_FILE="/config/qBittorrent/qBittorrent.conf" -# Test mode -TZ=$(bashio::config "TZ") -if [ "$TZ" = "test" ]; then - echo "secret mode found, launching script in /config/test.sh" - chmod 777 /config/test.sh - /./config/test.sh -fi - if bashio::config.true 'openvpn_enabled'; then bashio::log.info "Configuring openvpn" @@ -65,7 +57,7 @@ if bashio::config.true 'openvpn_enabled'; then fi # Get current ip - echo "$(curl ipecho.net/plain)" > /normalip + echo "$(curl ipecho.net/plain)" > /currentip # Exit exit 0