mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Allow syslog.conf to be locally customized from /storage/.config/syslog.conf
Since I would like to remotely log whatever goes on on my AppleTV devices, I need a way to modify the syslog.conf that is used, or need to provide options to syslogd. This was the easiest pick of the two :)
This commit is contained in:
parent
535f6451f8
commit
8672ac5b63
@ -25,7 +25,11 @@
|
|||||||
|
|
||||||
(
|
(
|
||||||
progress "Starting Syslog daemon"
|
progress "Starting Syslog daemon"
|
||||||
|
if [ -f /storage/.config/syslog.conf ]; then
|
||||||
|
syslogd -f /storage/.config/syslog.conf
|
||||||
|
else
|
||||||
syslogd
|
syslogd
|
||||||
|
fi
|
||||||
|
|
||||||
progress "Starting Kernellog daemon"
|
progress "Starting Kernellog daemon"
|
||||||
klogd
|
klogd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user