Update and rename 19-config.sh to 01-config.sh

This commit is contained in:
Alexandre
2022-11-10 00:31:33 +01:00
committed by GitHub
parent 1b5a49dffe
commit 96f884a564

View File

@@ -47,8 +47,7 @@ fi
if bashio::config.has_value 'customUI'; then
CUSTOMUI=$(bashio::config 'customUI')
echo "$CUSTOMUI" > "/TRANSMISSION_WEB_HOME"
#[ "$CUSTOMUI" != "standard" ] && sed -i "1a export TRANSMISSION_WEB_HOME=\"/$CUSTOMUI/\"" /etc/s6-overlay/s6-rc.d/*/run
[ "$CUSTOMUI" != "standard" ] && sed -i "1a export TRANSMISSION_WEB_HOME=\"/$CUSTOMUI/\"" /etc/s6-overlay/s6-rc.d/*/run
# Enable transmission-web-control return to default UI
if [ ! -f "/transmission-web-control/index.original.html" ]; then