From 8fee59808df08aa24c4753fc76d8703843801bdb Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 9 Dec 2023 14:26:08 +0100 Subject: [PATCH] Update 92-qbit_manage.sh --- qbittorrent/rootfs/etc/cont-init.d/92-qbit_manage.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/92-qbit_manage.sh b/qbittorrent/rootfs/etc/cont-init.d/92-qbit_manage.sh index d3d6f298e..e8dc3980b 100755 --- a/qbittorrent/rootfs/etc/cont-init.d/92-qbit_manage.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/92-qbit_manage.sh @@ -4,7 +4,15 @@ set -e if bashio::config.true "qbit_manage"; then - bashio::log.info "qbit_manage activated, setting system" + bashio::log.info "qbit_manage activated, setting system" + + # Disable if armv7 + if [[ "$(bashio::info.arch)" == "armv7" ]]; then + bashio::log.warning "------------------------------------------------" + bashio::log.warning "Your system is armv7, qbit_manage cannot be used" + bashio::log.warning "------------------------------------------------" + exit 0 + fi # Set folder echo "... setting folder"