mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update 00-local_mounts.sh
This commit is contained in:
@@ -8,12 +8,6 @@
|
||||
# Mount local Share if configured
|
||||
if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
# Install lsblk
|
||||
if ! command -v "lsblk" &>/dev/null; then
|
||||
if command -v "apk" &>/dev/null; then apk add --no-cache lsblk >/dev/null; fi
|
||||
if command -v "apt" &>/dev/null; then apt-get update && apt-get install -yqq util-linux; fi
|
||||
fi
|
||||
|
||||
## List available Disk with Labels and Id
|
||||
bashio::log.blue "---------------------------------------------------"
|
||||
bashio::log.info "Available Disks :"
|
||||
|
||||
Reference in New Issue
Block a user