mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-20 03:28:11 +01:00
Update 20-config
This commit is contained in:
@@ -35,6 +35,12 @@ 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
|
||||
ln -s /usr/share/transmission/web/style /transmission-web-control
|
||||
ln -s /usr/share/transmission/web/images /transmission-web-control
|
||||
ln -s /usr/share/transmission/web/javascript /transmission-web-control
|
||||
ln -s /usr/share/transmission/web/index.html /transmission-web-control/index.original.html
|
||||
fi
|
||||
bashio::log.info "UI selected : $CUSTOMUI"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user