Continue smbclient

This commit is contained in:
Alexandre
2021-10-23 10:20:43 +02:00
committed by GitHub
parent 7afcc9a09f
commit ae94f5150e

View File

@@ -51,8 +51,8 @@ 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 $disk -U $CIFS_USERNAME%$CIFS_PASSWORD --option="client min protocol"="NT1"
smbclient -L $disk -U $CIFS_USERNAME%$CIFS_PASSWORD --option="client min protocol"="NT1"
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
# Messages