diff --git a/.templates/92-local_mounts.sh b/.templates/92-local_mounts.sh index b492e7587..b55a16f18 100644 --- a/.templates/92-local_mounts.sh +++ b/.templates/92-local_mounts.sh @@ -19,7 +19,9 @@ if bashio::config.has_value 'localdisks'; then devpath=/dev # Mount as label - [ "${disk:0:2}" != "sd" ] && devpath=/dev/disk/by-label + if [ "${disk:0:2}" != "sd" ] && [ "${disk:0:4}" != "nvme" ] ; then + devpath=/dev/disk/by-label + fi # Creates dir mkdir -p /mnt/"$disk"