mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-28 10:16:06 +02:00
Update 20-config
This commit is contained in:
@@ -33,13 +33,8 @@ fi
|
|||||||
##############
|
##############
|
||||||
|
|
||||||
if bashio::config.has_value 'customUI'; then
|
if bashio::config.has_value 'customUI'; then
|
||||||
### Variables
|
|
||||||
CUSTOMUI=$(bashio::config 'customUI')
|
CUSTOMUI=$(bashio::config 'customUI')
|
||||||
if [ "$CUSTOMUI" != "flood-for-transmission" ]; then
|
sed -i "1a export TRANSMISSION_WEB_HOME=\"/$CUSTOMUI/\"" /etc/services.d/transmission/run
|
||||||
echo "Setting custom UI"
|
|
||||||
mv /flood-for-transmission /a
|
|
||||||
mv /$CUSTOMUI /flood-for-transmission
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
bashio::log.info "UI selected : $CUSTOMUI"
|
bashio::log.info "UI selected : $CUSTOMUI"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user