Update 00-local_mounts.sh

This commit is contained in:
Alexandre
2023-09-30 13:57:25 +02:00
committed by GitHub
parent bd6c9133b8
commit f6e3cdf6e2

View File

@@ -15,10 +15,9 @@ if bashio::config.has_value 'localdisks'; then
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
fstypes=$(grep -v nodev </proc/filesystems | tr -d '\n')
bashio::log.blue "------------from-github.com/dianlight--------------"
fstypes=$(grep -v nodev </proc/filesystems | paste -d' ' - - | tr -d '\n\t')
bashio::log.green "Supported fs : ${fstypes}"
if grep -q fuseblk </proc/filesystems; then bashio::log.green "Supported fusefs: $(find /sbin -name "mount*fuse" | cut -c 13- | tr "\n" " " | sed s/fuse//g)"; fi
bashio::log.green "Source : github.com/dianlight"
bashio::log.blue "---------------------------------------------------"
MOREDISKS=$(bashio::config 'localdisks')