MiniDLNA add-on
This commit is contained in:
1 parent
118c7fa42c
commit
7c3322a6d4
9 files changed
+159
-2
No files matched your search
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
# ==============================================================================
|
||||
# Community Hass.io Add-ons: torrdlna
|
||||
# Ensures necessary mounting is done
|
||||
# ==============================================================================
|
||||
# shellcheck disable=SC1091
|
||||
source /usr/lib/hassio-addons/base.sh
|
||||
|
||||
if ! grep -qs '/share/hdd' /proc/mounts; then
|
||||
mount /dev/sda1 /share/hdd || hass.die 'Could not mount hdd'
|
||||
fi
|
||||
Reference in new issue
Block a user