diff --git a/qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.4.sh b/qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.4.sh index 5b97a3e09..6466c4170 100644 --- a/qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.4.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.4.sh @@ -51,7 +51,7 @@ if bashio::config.has_value 'networkdisks'; then # Test smbclient if not mounted yet if [ $MOUNTED = false ]; then bashio::log.fatal "Error, could not mount disk. Here is some debugging info :" - smbclient -V &>/dev/null || apt-get install smbclient || apk add samba-client + smbclient -V &>/dev/null || apt-get install smbclient || apk add --no-cache samba-client smbclient $disk -U $CIFS_USERNAME%$CIFS_PASSWORD --option="client min protocol"="NT1" || true smbclient -L $disk -U $CIFS_USERNAME%$CIFS_PASSWORD --option="client min protocol"="NT1" || true fi