From b1f8263698d404ffec89af0ec8b8ca26203848cb Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 11 Feb 2025 15:05:25 +0100 Subject: [PATCH] Update 00-smb_mounts.sh --- .templates/00-smb_mounts.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.templates/00-smb_mounts.sh b/.templates/00-smb_mounts.sh index 4f22fb0ee..5d0537c92 100755 --- a/.templates/00-smb_mounts.sh +++ b/.templates/00-smb_mounts.sh @@ -3,6 +3,11 @@ # shellcheck disable= set -e +if ! bashio::supervisor.ping 2>/dev/null; then + bashio::log.blue "Disabled : please use another method" + exit 0 +fi + #################### # DEFINE FUNCTIONS # ####################