diff options
author | Mark Whitley <markw@lineo.com> | 2001-03-12 22:51:50 +0000 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2001-03-12 22:51:50 +0000 |
commit | 6317c4baf79c25d7f77897b064eb4f0b7d9f070e (patch) | |
tree | 5fc8fe65a4903f6224925a72b53a4f46e2b0b1d3 /applets | |
parent | 4987bbf97924044c88007c45ee2674d97b93ad92 (diff) | |
download | busybox-6317c4baf79c25d7f77897b064eb4f0b7d9f070e.tar.gz |
Applied patch from Gennady Feldman to split up syslogd.c into syslogd and
klogd (as it should be).
Diffstat (limited to 'applets')
-rw-r--r-- | applets/usage.h | 23 |
1 files changed, 15 insertions, 8 deletions
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" \ |