mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-29 16:07:40 +01:00
Update 92-smb_mounts_v1.3.sh
This commit is contained in:
@@ -43,9 +43,9 @@ if bashio::config.has_value 'networkdisks'; then
|
|||||||
#If mounting failed, tries to mount as NFS
|
#If mounting failed, tries to mount as NFS
|
||||||
if [ $MOUNTED = true ]; then
|
if [ $MOUNTED = true ]; then
|
||||||
bashio::log.info "... mounts as NFS"
|
bashio::log.info "... mounts as NFS"
|
||||||
disk=$(echo $disk | sed 's/^\///')
|
disknfs=$(echo $disk | sed 's/^\///')
|
||||||
disk=$(echo $disk | sed 's/^\///')
|
disknfs=$(echo $disknfs | sed 's/^\///')
|
||||||
mount -t nfs $disk /mnt/$diskname 2>ERRORCODE && MOUNTFAIL=false || MOUNTED=false
|
mount -t nfs $disknfs /mnt/$diskname 2>ERRORCODE && MOUNTFAIL=false || MOUNTED=false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if Fail test different smb and sec versions
|
# if Fail test different smb and sec versions
|
||||||
|
|||||||
Reference in New Issue
Block a user