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 Sep 30, 2023
1 parent 6f2a995 commit ceb3240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .templates/00-smb_mounts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ if bashio::config.has_value 'networkdisks'; then
# test if smb port is open
nc -w 2 -z "$server" 445 2>/dev/null || \
# test with ping also if different port is used
ping -w 5 -c 1 "$server" >/dev/null || \
ping -w 2 -c 1 "$server" >/dev/null || \
bashio::log.warning "Your server $server from $disk doesn't seem reachable, is it correct?"
fi

Expand Down

0 comments on commit ceb3240

Please sign in to comment.