From 6317c4baf79c25d7f77897b064eb4f0b7d9f070e Mon Sep 17 00:00:00 2001 From: Mark Whitley Date: Mon, 12 Mar 2001 22:51:50 +0000 Subject: Applied patch from Gennady Feldman to split up syslogd.c into syslogd and klogd (as it should be). --- applets/usage.h | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'applets/usage.h') diff --git a/applets/usage.h b/applets/usage.h index 8ba86d569..f241d3a04 100644 --- a/applets/usage.h +++ b/applets/usage.h @@ -468,6 +468,13 @@ "Options:\n" \ "\t-l\tList all signal names and numbers." +#define klogd_trivial_usage \ + "-n" +#define klogd_full_usage \ + "Kernel logger.\n"\ + "Options:\n"\ + "\t-n\tRun as a foreground process." + #define length_trivial_usage \ "STRING" #define length_full_usage \ @@ -513,6 +520,12 @@ #define logname_full_usage \ "Print the name of the current user." +#define logread_trivial_usage \ + "" + +#define logread_full_usage \ + "Shows the messages from syslogd (using circular buffer)." + #ifdef BB_FEATURE_LS_TIMESTAMPS #define USAGE_LS_TIMESTAMPS(a) a #else @@ -913,11 +926,6 @@ "Write all buffered filesystem blocks to disk." -#ifdef BB_FEATURE_KLOGD - #define USAGE_KLOGD(a) a -#else - #define USAGE_KLOGD(a) -#endif #ifdef BB_FEATURE_REMOTE_LOG #define USAGE_REMOTE_LOG(a) a #else @@ -926,12 +934,11 @@ #define syslogd_trivial_usage \ "[OPTION]..." #define syslogd_full_usage \ - "Linux system and kernel (provides klogd) logging utility.\n" \ - "Note that this version of syslogd/klogd ignores /etc/syslog.conf.\n\n" \ + "Linux system and kernel logging utility.\n" \ + "Note that this version of syslogd ignores /etc/syslog.conf.\n\n" \ "Options:\n" \ "\t-m NUM\t\tInterval between MARK lines (default=20min, 0=off)\n" \ "\t-n\t\tRun as a foreground process\n" \ - USAGE_KLOGD("\t-K\t\tDo not start up the klogd process\n") \ "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)" \ USAGE_REMOTE_LOG( \ "\n\t-R HOST[:PORT]\tLog to IP or hostname on PORT (default PORT=514/UDP)\n" \ -- cgit v1.2.3