mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-17 12:59:13 +02:00
Update 20-config
This commit is contained in:
@@ -37,10 +37,12 @@ if bashio::config.has_value 'customUI'; then
|
|||||||
[ $CUSTOMUI != "standard" ] && sed -i "1a export TRANSMISSION_WEB_HOME=\"/$CUSTOMUI/\"" /etc/services.d/transmission/run
|
[ $CUSTOMUI != "standard" ] && sed -i "1a export TRANSMISSION_WEB_HOME=\"/$CUSTOMUI/\"" /etc/services.d/transmission/run
|
||||||
|
|
||||||
# Enable transmission-web-control return to default UI
|
# Enable transmission-web-control return to default UI
|
||||||
ln -s /usr/share/transmission/web/style /transmission-web-control
|
if [ ! -f "/transmission-web-control/index.original.html" ]; then
|
||||||
ln -s /usr/share/transmission/web/images /transmission-web-control
|
ln -s /usr/share/transmission/web/style /transmission-web-control
|
||||||
ln -s /usr/share/transmission/web/javascript /transmission-web-control
|
ln -s /usr/share/transmission/web/images /transmission-web-control
|
||||||
ln -s /usr/share/transmission/web/index.html /transmission-web-control/index.original.html
|
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
|
||||||
fi
|
fi
|
||||||
bashio::log.info "UI selected : $CUSTOMUI"
|
bashio::log.info "UI selected : $CUSTOMUI"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user