From 8672ac5b63d99d26ce0eb9181d5e3c9d1a08b7c3 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Wed, 6 Feb 2013 22:36:53 +0100 Subject: [PATCH] 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 :) --- packages/sysutils/busybox/init.d/08_syslogd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/sysutils/busybox/init.d/08_syslogd b/packages/sysutils/busybox/init.d/08_syslogd index e27f74db16..524c77d8cd 100644 --- a/packages/sysutils/busybox/init.d/08_syslogd +++ b/packages/sysutils/busybox/init.d/08_syslogd @@ -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