This commit is contained in:
Alexandre
2022-01-17 13:18:05 +01:00
parent 0b0b471cbe
commit a22ce94a46
67 changed files with 263 additions and 207 deletions

View File

@@ -1,4 +1,5 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
rm -rf /etc/cont-init.d/20-config || true
@@ -37,7 +38,7 @@ fi
if bashio::config.has_value 'customUI'; then
CUSTOMUI=$(bashio::config 'customUI')
[ $CUSTOMUI != "standard" ] && sed -i "1a export TRANSMISSION_WEB_HOME=\"/$CUSTOMUI/\"" /etc/services.d/transmission/run
# Enable transmission-web-control return to default UI
if [ ! -f "/transmission-web-control/index.original.html" ]; then
ln -s /usr/share/transmission/web/style /transmission-web-control

View File

@@ -1,4 +1,5 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
JSONTOCHECK='/config/transmission/settings.json'
JSONSOURCE='/defaults/settings.json'