mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-16 11:00:31 +02:00
Update 92-local_mounts.sh
This commit is contained in:
@@ -44,7 +44,7 @@ if bashio::config.has_value 'localdisks'; then
|
|||||||
[ -d /share/"$disk" ] && mount "$devpath"/"$disk" /share/"$disk" || true
|
[ -d /share/"$disk" ] && mount "$devpath"/"$disk" /share/"$disk" || true
|
||||||
# Mount
|
# Mount
|
||||||
# Mount if ntfs
|
# Mount if ntfs
|
||||||
if [[ command -v "apk" &>/dev/null && "$(fdisk -l "$devpath"/"$disk")" == *NTFS* ]]; then
|
if command -v "apk" &>/dev/null && [[ "$(fdisk -l "$devpath"/"$disk")" == *NTFS* ]]; then
|
||||||
bashio::log.info "NTFS on Alpine detected, mounting with ntfs-3g"
|
bashio::log.info "NTFS on Alpine detected, mounting with ntfs-3g"
|
||||||
ntfs-3g "$devpath"/"$disk" /mnt/"$disk" || true
|
ntfs-3g "$devpath"/"$disk" /mnt/"$disk" || true
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user