From 2252ad7c9f13278517750e55b9b0a7f05a33f605 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 23 Oct 2021 10:35:19 +0200 Subject: [PATCH] Install smbclient if not there --- qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.4.sh | 1 + 1 file changed, 1 insertion(+) 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 fc7dbc44c..a4e0118b8 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,6 +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 -L host &>/dev/null || apt-get install smbclient || apk add 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