From 2ba0bf78144bc09e2be196d88d34556583552bc0 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 22 Apr 2021 15:53:39 +0200 Subject: [PATCH] Update 92-smb_mounts_v1.1 --- qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.1 b/qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.1 index 0a221ceb3..79295ea0e 100644 --- a/qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.1 +++ b/qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.1 @@ -28,6 +28,6 @@ if bashio::config.has_value 'networkdisks'; then mkdir -p /mnt/$diskname # Create dir chown -R root:root /mnt/$diskname # Permissions mount -t cifs -o username=$CIFS_USERNAME,password=$CIFS_PASSWORD$SMBVERS $disk /mnt/$diskname && \ - bashio::log.info "... $disk successfully mounted to /mnt/$diskname" || bashio::log.error "Unable to mount $disk to /mnt/$diskname with username $CIFS_USERNAME, $CIFS_PASSWORD . Please check your remote share path, the username and password, and try to check the smbv1 box in option if your share is using smb v1" # Mount share + bashio::log.info "... $disk successfully mounted to /mnt/$diskname" || {mount -v -t cifs -o username=$CIFS_USERNAME,password=$CIFS_PASSWORD$SMBVERS $disk /mnt/$diskname ; bashio::log.error "Unable to mount $disk to /mnt/$diskname with username $CIFS_USERNAME, $CIFS_PASSWORD . Please check your remote share path, the username and password, and try to check the smbv1 box in option if your share is using smb v1"} # Mount share done fi