Update 01-verbose

This commit is contained in:
Alexandre
2021-10-01 19:38:01 +02:00
committed by GitHub
parent 1d6c9751c5
commit 5c80676570

View File

@@ -1,11 +1,12 @@
#!/usr/bin/with-contenv bashio
######################
# MOUNT LOCAL SHARES #
######################
###############
# SILENT MODE #
###############
if bashio::config.true 'silent'; then
sed -i '$s/$/ &> /dev/null' /etc/services.d/emby/run
APPEND='&> /dev/null'
sed -i "s|$|${APPEND}|" /etc/services.d/emby/run
bashio::log.info 'Silent mode activated'
fi