From ec1bf0885232abb54b8b2cf364b6054e5c7b15d6 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 4 Oct 2023 15:25:00 +0200 Subject: [PATCH] Update 00-local_mounts.sh --- .templates/00-local_mounts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/00-local_mounts.sh b/.templates/00-local_mounts.sh index ad6c80fd4..942342e06 100755 --- a/.templates/00-local_mounts.sh +++ b/.templates/00-local_mounts.sh @@ -12,7 +12,7 @@ if bashio::config.has_value 'localdisks'; then ## List available Disk with Labels and Id bashio::log.blue "---------------------------------------------------" bashio::log.info "Available Disks :" - lsblk -o name,label,size,fstype,ro | awk '$5 != "" { print $0 }' + lsblk -o name,label,size,fstype,ro | awk '$4 != "" { print $0 }' bashio::log.blue "---------------------------------------------------" # Show support fs https://github.com/dianlight/hassio-addons/blob/2e903184254617ac2484fe7c03a6e33e6987151c/sambanas/rootfs/etc/s6-overlay/s6-rc.d/init-automount/run#L106