Skip to content

Commit

Permalink
Update 00-local_mounts.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Oct 4, 2023
1 parent 4aff783 commit 87d65ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .templates/00-local_mounts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ if bashio::config.has_value 'localdisks'; then

## List available Disk with Labels and Id
bashio::log.blue "---------------------------------------------------"
bashio::log.info "Available Disks :"
bashio::log.info "Available Disks for mounting (excluding devices blocked by HA) :"
lsblk -o name,label,size,fstype,ro,uuid | awk '$4 != "" { print $0 }' | grep -f availabledisks
bashio::log.blue " you cannot mount HAos data partition "
bashio::log.blue "---------------------------------------------------"
rm availabledisks

# Show support fs https://github.com/dianlight/hassio-addons/blob/2e903184254617ac2484fe7c03a6e33e6987151c/sambanas/rootfs/etc/s6-overlay/s6-rc.d/init-automount/run#L106
fstypessupport=$(grep -v nodev </proc/filesystems | awk '{$1=" "$1}1' | tr -d '\n\t')
Expand Down

0 comments on commit 87d65ba

Please sign in to comment.