mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-04 08:04:57 +02:00
Update 92-smb_mounts.sh
This commit is contained in:
@@ -36,7 +36,8 @@ if bashio::config.has_value 'networkdisks'; then
|
|||||||
|
|
||||||
# Data validation
|
# Data validation
|
||||||
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
||||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Prepare mount point
|
# Prepare mount point
|
||||||
|
|||||||
Reference in New Issue
Block a user