mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-18 13:29:14 +02:00
Update 92-smb_mounts_v1.1.sh
This commit is contained in:
@@ -50,7 +50,7 @@ if bashio::config.has_value 'networkdisks'; then
|
|||||||
if [ $? == 0 ]; then
|
if [ $? == 0 ]; then
|
||||||
mount -t cifs -o username=$CIFS_USERNAME,password=$CIFS_PASSWORD,sec=ntlmv2 $disk /mnt/$diskname && \
|
mount -t cifs -o username=$CIFS_USERNAME,password=$CIFS_PASSWORD,sec=ntlmv2 $disk /mnt/$diskname && \
|
||||||
bashio::log.info "... $disk successfully mounted to /mnt/$diskname" && \
|
bashio::log.info "... $disk successfully mounted to /mnt/$diskname" && \
|
||||||
bashio::log.error "Your smb share uses smbv3."
|
bashio::log.error "Your smb share requires ntlmv2."
|
||||||
true
|
true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user