mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 21:04:05 +02:00
Update and rename 92-smb_mounts_v1.4.sh to 92-smb_mounts_v1.5.sh
This commit is contained in:
@@ -53,7 +53,7 @@ if bashio::config.has_value 'networkdisks'; then
|
|||||||
|
|
||||||
# Test smbclient if not mounted yet
|
# Test smbclient if not mounted yet
|
||||||
if [ $MOUNTED = false ]; then
|
if [ $MOUNTED = false ]; then
|
||||||
smbclient -L $disk -U $CIFS_USERNAME%$CIFS_PASSWORD --option="client min protocol"="NT1" && \
|
smbclient -L $disk -U $CIFS_USERNAME%$CIFS_PASSWORD --option="client min protocol"="NT1" && MOUNTED=true && \
|
||||||
bashio::log.info "Mounted with smbclient"
|
bashio::log.info "Mounted with smbclient"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
Reference in New Issue
Block a user