mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update 92-smb_mounts_v1.3.sh
This commit is contained in:
@@ -30,7 +30,7 @@ if bashio::config.has_value 'networkdisks'; then
|
|||||||
chown -R root:root /mnt/$diskname
|
chown -R root:root /mnt/$diskname
|
||||||
|
|
||||||
#Tries to mount with default options
|
#Tries to mount with default options
|
||||||
mount -t cifs -o rw,iocharset=utf8,file_mode=0777,dir_mode=0777,username="$CIFS_USERNAME",password="${CIFS_PASSWORD}"$DOMAIN $disk /mnt/$diskname
|
#mount -t cifs -o rw,iocharset=utf8,file_mode=0777,dir_mode=0777,username="$CIFS_USERNAME",password="${CIFS_PASSWORD}"$DOMAIN $disk /mnt/$diskname
|
||||||
|
|
||||||
# if Fail test different smb and sec versions
|
# if Fail test different smb and sec versions
|
||||||
while [ $? -ne 0 ]; do
|
while [ $? -ne 0 ]; do
|
||||||
|
|||||||
Reference in New Issue
Block a user