mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-23 09:11:50 +02:00
Update 20-config
This commit is contained in:
@@ -34,7 +34,7 @@ fi
|
|||||||
|
|
||||||
if bashio::config.has_value 'customUI'; then
|
if bashio::config.has_value 'customUI'; then
|
||||||
CUSTOMUI=$(bashio::config 'customUI')
|
CUSTOMUI=$(bashio::config 'customUI')
|
||||||
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
|
||||||
fi
|
fi
|
||||||
bashio::log.info "UI selected : $CUSTOMUI"
|
bashio::log.info "UI selected : $CUSTOMUI"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user