Update 91-silent.sh

This commit is contained in:
Alexandre
2022-02-18 07:00:40 +01:00
committed by GitHub
parent 6e2566b275
commit 3c15f5c862

View File

@@ -7,7 +7,7 @@
if bashio::config.true 'silent'; then
APPEND=' > /dev/null'
[ -f /etc/services.d/*/run ] && sed -i '$s|$|'"$APPEND"'|' /etc/services.d/*/run
[ -f /etc/cont-init.d/*/*run* ] && sed -i '$s|$|'"$APPEND"'|' /etc/cont-init.d/*/*run*
sed -i '$s|$|'"$APPEND"'|' /etc/services.d/*/run &>/dev/null || true
sed -i '$s|$|'"$APPEND"'|' /etc/cont-init.d/*/*run* &>/dev/null || true
bashio::log.info 'Silent mode activated, all logs from emby server are hidden. Disable this option if you need to troubleshoot the addon.'
fi