sysklogd/*: convert to new-style "one file" applets

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2015-10-18 18:42:03 +02:00
parent 2735bc00e3
commit d34f300db6
7 changed files with 172 additions and 167 deletions

View File

@@ -8,6 +8,31 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//config:config LOGREAD
//config: bool "logread"
//config: default y
//config: depends on FEATURE_IPC_SYSLOG
//config: help
//config: If you enabled Circular Buffer support, you almost
//config: certainly want to enable this feature as well. This
//config: utility will allow you to read the messages that are
//config: stored in the syslogd circular buffer.
//config:
//config:config FEATURE_LOGREAD_REDUCED_LOCKING
//config: bool "Double buffering"
//config: default y
//config: depends on LOGREAD
//config: help
//config: 'logread' ouput to slow serial terminals can have
//config: side effects on syslog because of the semaphore.
//config: This option make logread to double buffer copy
//config: from circular buffer, minimizing semaphore
//config: contention at some minor memory expense.
//config:
//applet:IF_LOGREAD(APPLET(logread, BB_DIR_SBIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_LOGREAD) += logread.o
//usage:#define logread_trivial_usage
//usage: "[-fF]"