This commit is contained in:
Alexandre
2020-11-29 19:21:47 +01:00
parent 600e905504
commit 76298d3cd5
106 changed files with 0 additions and 1998 deletions

View File

@@ -1,5 +0,0 @@
#!/usr/bin/with-contenv bashio
for k in $(bashio::jq "${__BASHIO_ADDON_CONFIG}" 'keys | .[]'); do
printf "$(bashio::config $k)" > /var/run/s6/container_environment/$k
done

View File

@@ -1,37 +0,0 @@
#!/usr/bin/with-contenv bash
if [ ! -d /share/storage/tv ]; then
echo "Creating /share/storage/tv"
mkdir -p /share/storage/tv
chown -R abc:abc /share/storage/tv
fi
if [ ! -d /share/storage/movies ]; then
echo "Creating /share/storage/movies"
mkdir -p /share/storage/movies
chown -R abc:abc /share/storage/movies
fi
if [ ! -d /share/jellyfin/data ]; then
echo "Creating /share/jellyfin/data"
mkdir -p /share/jellyfin/data
chown -R abc:abc /share/jellyfin/data
fi
if [ ! -d /share/jellyfin/cache ]; then
echo "Creating /share/jellyfin/cache"
mkdir -p /share/jellyfin/cache
chown -R abc:abc /share/jellyfin/cache
fi
if [ ! -d /share/jellyfin/log ]; then
echo "Creating /share/jellyfin/log"
mkdir -p /share/jellyfin/log
chown -R abc:abc /share/jellyfin/log
fi
if [ ! -d /config/jellyfin ]; then
echo "Creating /config/jellyfin"
mkdir -p /config/jellyfin
chown -R abc:abc /config/jellyfin
fi