mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update 19-config.sh
This commit is contained in:
@@ -47,7 +47,8 @@ fi
|
||||
|
||||
if bashio::config.has_value 'customUI'; then
|
||||
CUSTOMUI=$(bashio::config 'customUI')
|
||||
[ "$CUSTOMUI" != "standard" ] && sed -i "1a export TRANSMISSION_WEB_HOME=\"/$CUSTOMUI/\"" /etc/s6-overlay/s6-rc.d/*/run
|
||||
echo "$CUSTOMUI" > "/TRANSMISSION_WEB_HOME"
|
||||
#[ "$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
|
||||
|
||||
Reference in New Issue
Block a user