diff --git a/papermerge/rootfs/etc/cont-init.d/92-smb_mounts_v1.4.sh b/papermerge/rootfs/etc/cont-init.d/92-smb_mounts_v1.5.sh similarity index 98% rename from papermerge/rootfs/etc/cont-init.d/92-smb_mounts_v1.4.sh rename to papermerge/rootfs/etc/cont-init.d/92-smb_mounts_v1.5.sh index a31ade114..fa01b3b30 100644 --- a/papermerge/rootfs/etc/cont-init.d/92-smb_mounts_v1.4.sh +++ b/papermerge/rootfs/etc/cont-init.d/92-smb_mounts_v1.5.sh @@ -53,7 +53,7 @@ if bashio::config.has_value 'networkdisks'; then # Test smbclient if not mounted yet if [ $MOUNTED = false ]; then - smbclient -L $disk -U $CIFS_USERNAME%$CIFS_PASSWORD --option="client min protocol"="NT1" && \ + smbclient -L $disk -U $CIFS_USERNAME%$CIFS_PASSWORD --option="client min protocol"="NT1" && MOUNTED=true && \ bashio::log.info "Mounted with smbclient" fi