MiniDLNA add-on
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
# Ensures necessary directories exists
|
||||
# ==============================================================================
|
||||
# shellcheck disable=SC1091
|
||||
source /usr/lib/hassio-addons/base.sh
|
||||
#source /usr/lib/hassio-addons/base.sh
|
||||
|
||||
if ! hass.directory_exists '/share/hdd'; then
|
||||
mkdir -p /share/hdd || hass.die 'Could not create hdd mount directory'
|
||||
chmod -R 0777 /share/hdd
|
||||
fi
|
||||
#if ! hass.directory_exists '/share/hdd'; then
|
||||
# mkdir -p /share/hdd || hass.die 'Could not create hdd mount directory'
|
||||
# chmod -R 0777 /share/hdd
|
||||
#fi
|
||||
|
||||
Reference in New Issue
Block a user