Skip to content

Commit

Permalink
Update 00-smb_mounts.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Oct 1, 2023
1 parent 75e90df commit 294eab6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .templates/00-smb_mounts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,16 @@ if bashio::config.has_value 'networkdisks'; then

# Deeper analysis if failed
if [ "$MOUNTED" = false ]; then


# Detect smb version
# Try smbv1
if smbclient -t 2 -L "$server" -m NT1 -N &>/dev/null; then
echo "... only SMBv1 is supported, trying it"
SMBDEFAULT=",vers=1.0"
fi

# Detect sec vers

# if Fail test different smb and sec versions
echo "... looking for the optimal parameters for mounting"
if [ "$MOUNTED" = false ]; then
Expand Down

0 comments on commit 294eab6

Please sign in to comment.