From b6ff7f08f2780e05ab9361d9e6e820b21bd713f1 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 21 Jan 2024 12:51:22 +0100 Subject: [PATCH] Update 93-wg_test.sh --- qbittorrent/rootfs/etc/cont-init.d/93-wg_test.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/93-wg_test.sh b/qbittorrent/rootfs/etc/cont-init.d/93-wg_test.sh index 5f6f6419e..c69aac660 100755 --- a/qbittorrent/rootfs/etc/cont-init.d/93-wg_test.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/93-wg_test.sh @@ -2,7 +2,7 @@ # shellcheck shell=bash set -e -exit 0 +if bashio::config.true 'wireguard_enabled'; then ######################################################## # DRAFT : Start wireguard if needed @@ -35,8 +35,6 @@ chmod 755 /config/wireguard/* # CONFIGURE VPN # ################# -if bashio::config.true 'wireguard_enabled'; then - ############ # MESSAGES # ############