From af126db4543df9393e52f95fdf026f3a0d909074 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 19 Aug 2022 14:55:58 +0200 Subject: [PATCH] https://github.com/alexbelgium/hassio-addons/issues/431 --- .templates/92-smb_mounts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/92-smb_mounts.sh b/.templates/92-smb_mounts.sh index ceda29b48..9e6efb60c 100644 --- a/.templates/92-smb_mounts.sh +++ b/.templates/92-smb_mounts.sh @@ -68,7 +68,7 @@ if bashio::config.has_value 'networkdisks'; then # Test for serverino # shellcheck disable=SC2015 - touch "/mnt/$diskname/testaze" && cp "/mnt/$diskname/testaze" "/mnt/$diskname/testaze2" && rm "/mnt/$diskname/testaze2" || + touch "/mnt/$diskname/testaze" && mv "/mnt/$diskname/testaze" "/mnt/$diskname/testaze2" && rm "/mnt/$diskname/testaze2" || (umount "/mnt/$diskname" && mount -t cifs -o "rw,file_mode=0777,dir_mode=0777,username=$CIFS_USERNAME,password=${CIFS_PASSWORD}$SMBVERS$SECVERS,noserverino" "$disk" /mnt/"$diskname" && bashio::log.warning "noserverino option used") else