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:
Dag Wieers 2013-02-06 22:36:53 +01:00
parent 535f6451f8
commit 8672ac5b63

View File

@ -25,7 +25,11 @@
(
progress "Starting Syslog daemon"
if [ -f /storage/.config/syslog.conf ]; then
syslogd -f /storage/.config/syslog.conf
else
syslogd
fi
progress "Starting Kernellog daemon"
klogd