mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-03 22:34:11 +02:00
Update 00-local_mounts.sh
This commit is contained in:
@@ -15,7 +15,7 @@ if bashio::config.has_value 'localdisks'; then
|
|||||||
|
|
||||||
## List available Disk with Labels and Id
|
## List available Disk with Labels and Id
|
||||||
bashio::log.blue "---------------------------------------------------"
|
bashio::log.blue "---------------------------------------------------"
|
||||||
bashio::log.info "Available Disks for mounting (excluding devices blocked by HA) :"
|
bashio::log.info "Available Disks for mounting :"
|
||||||
lsblk -o name,label,size,fstype,ro | awk '$4 != "" { print $0 }' | grep -f availabledisks
|
lsblk -o name,label,size,fstype,ro | awk '$4 != "" { print $0 }' | grep -f availabledisks
|
||||||
bashio::log.blue "---------------------------------------------------"
|
bashio::log.blue "---------------------------------------------------"
|
||||||
rm availabledisks
|
rm availabledisks
|
||||||
|
|||||||
Reference in New Issue
Block a user