From b0290d49021db76df8e11ea5f0f960688bc671c9 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 18 Oct 2021 20:18:57 +0200 Subject: [PATCH] Update and rename 92-smb_mounts_v1.4.sh to 92-smb_mounts_v1.5.sh --- .../{92-smb_mounts_v1.4.sh => 92-smb_mounts_v1.5.sh} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename papermerge/rootfs/etc/cont-init.d/{92-smb_mounts_v1.4.sh => 92-smb_mounts_v1.5.sh} (98%) 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