From 89a65d6462d803f869d11fa62a2a915c03e9353f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 3 Oct 2023 08:14:20 +0200 Subject: [PATCH] Update 00-smb_mounts.sh --- .templates/00-smb_mounts.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.templates/00-smb_mounts.sh b/.templates/00-smb_mounts.sh index 82a734a98..d59efe4d8 100755 --- a/.templates/00-smb_mounts.sh +++ b/.templates/00-smb_mounts.sh @@ -8,6 +8,13 @@ if bashio::config.has_value 'networkdisks'; then +# Alert message that it is a new code +if [[ "$(date +"%Y%m%d")" -lt "20240101" ]]; then + bashio::log.warning "------------------------" + bashio::log.warning "This is a new code, please report any issues on https://github.com/alexbelgium/hassio-addons" + bashio::log.warning "------------------------" +fi + echo 'Mounting smb share(s)...' ####################