From d34f300db6d7a726759f4d820a61f19eacf11288 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 18 Oct 2015 18:42:03 +0200 Subject: sysklogd/*: convert to new-style "one file" applets Signed-off-by: Denys Vlasenko --- sysklogd/logger.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'sysklogd/logger.c') diff --git a/sysklogd/logger.c b/sysklogd/logger.c index 5a7027731..b3ca85703 100644 --- a/sysklogd/logger.c +++ b/sysklogd/logger.c @@ -6,6 +6,19 @@ * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ +//config:config LOGGER +//config: bool "logger" +//config: default y +//config: select FEATURE_SYSLOG +//config: help +//config: The logger utility allows you to send arbitrary text +//config: messages to the system log (i.e. the 'syslogd' utility) so +//config: they can be logged. This is generally used to help locate +//config: problems that occur within programs and scripts. + +//applet:IF_LOGGER(APPLET(logger, BB_DIR_USR_BIN, BB_SUID_DROP)) + +//kbuild:lib-$(CONFIG_LOGGER) += syslogd_and_logger.o //usage:#define logger_trivial_usage //usage: "[OPTIONS] [MESSAGE]" -- cgit v1.2.3