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 # ############