diff options
author | Denys Vlasenko | 2015-10-18 18:42:03 +0200 |
---|---|---|
committer | Denys Vlasenko | 2015-10-18 22:40:09 +0200 |
commit | d34f300db6d7a726759f4d820a61f19eacf11288 (patch) | |
tree | 3e722dad3550a08dfd5f618c8dd5fff50808674c /sysklogd/logger.c | |
parent | 2735bc00e35c5fd8eec6d656f4d8a17ee2630c2a (diff) | |
download | busybox-d34f300db6d7a726759f4d820a61f19eacf11288.zip busybox-d34f300db6d7a726759f4d820a61f19eacf11288.tar.gz |
sysklogd/*: convert to new-style "one file" applets
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'sysklogd/logger.c')
-rw-r--r-- | sysklogd/logger.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c index 5a70277..b3ca857 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]" |