mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 08:35:57 +02:00
Add smbclient protocol
This commit is contained in:
@@ -47,6 +47,12 @@ if bashio::config.has_value 'networkdisks'; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Test smbclient if not mounted yet
|
||||||
|
if [ $MOUNTED = false ]; then
|
||||||
|
smbclient -L $disk -U $CIFS_USERNAME%$CIFS_PASSWORD --option="client min protocol"="NT1" && \
|
||||||
|
bashio::log.info "Mounted with smbclient"
|
||||||
|
fi
|
||||||
|
|
||||||
# Messages
|
# Messages
|
||||||
if [ $MOUNTED = true ]; then
|
if [ $MOUNTED = true ]; then
|
||||||
#Test write permissions
|
#Test write permissions
|
||||||
|
|||||||
Reference in New Issue
Block a user