mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-18 10:28:17 +01:00
Add smbclient protocol
This commit is contained in:
@@ -47,6 +47,12 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
done
|
||||
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
|
||||
if [ $MOUNTED = true ]; then
|
||||
#Test write permissions
|
||||
|
||||
Reference in New Issue
Block a user