mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-12 10:51:01 +01:00
12 lines
330 B
Plaintext
12 lines
330 B
Plaintext
#!/usr/bin/with-contenv bashio
|
|
|
|
###############
|
|
# SILENT MODE #
|
|
###############
|
|
|
|
if bashio::config.true 'silent'; then
|
|
APPEND=' > /dev/null'
|
|
sed -i '$s|$|'"$APPEND"'|' /etc/services.d/emby/run
|
|
bashio::log.info 'Silent mode activated, all logs from emby server are hidden. Disable this option if you need to troubleshoot emby.'
|
|
fi
|