Hi, With this small patch, acpid can log to syslog
Best regards. Souf.
--- busybox-1.22.0/util-linux/Config.src.orig 2014-01-19 15:18:11.201728304 +0100 +++ busybox-1.22.0/util-linux/Config.src 2014-01-19 15:18:39.581727732 +0100 @@ -11,6 +11,7 @@ bool "acpid" default y select PLATFORM_LINUX + select FEATURE_SYSLOG help acpid listens to ACPI events coming either in textual form from /proc/acpi/event (though it is marked deprecated it is still widely --- busybox-1.22.0/docs/logging_and_backgrounding.txt.orig 2014-01-19 15:19:03.965727241 +0100 +++ busybox-1.22.0/docs/logging_and_backgrounding.txt 2014-01-19 15:19:42.689726461 +0100 @@ -23,7 +23,7 @@ Current situation is a bit of a mess: -acpid - auto-backgrounds unless -d +acpid - auto-backgrounds unless -d or -f crond - auto-backgrounds unless -f, logs to syslog unless -d or -L. option -d logs to stderr, -L FILE logs to FILE devfsd - (obsolete) @@ -48,7 +48,7 @@ Total: 13 applets (+1 obsolete), 4 log to syslog by default (crond fakeidentd inetd zcip), - 5 never log to syslog (acpid httpd telnetd klogd syslogd, last two + 4 never log to syslog (httpd telnetd klogd syslogd, last two - for obviously correct reasons), there are no daemons which always log to syslog, 12 auto-background if not run as inetd services (all except dnsd.
_______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox