diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-07-07 03:10:29 +0400 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-07-07 03:10:29 +0400 |
commit | 03f4c27bd6b79dcc953f0ee0d8c158d7ebe9cad8 (patch) | |
tree | 74ffc325b43e1c1920c6e9c1cd30104231d97d61 /sysklogd | |
parent | 67536ffa437a54504f18492244df4e03ce636e7f (diff) |
Turned some stuff into features that really are features, not apps.
-Erik
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/syslogd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index f4e7f459b..9ab228f21 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -85,7 +85,7 @@ static const char syslogd_usage[] = "Options:\n" "\t-m NUM\t\tInterval between MARK lines (default=20min, 0=off)\n" "\t-n\t\tRun as a foreground process\n" -#ifdef BB_KLOGD +#ifdef BB_FEATURE_KLOGD "\t-K\t\tDo not start up the klogd process\n" #endif "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)\n" @@ -316,7 +316,7 @@ static void doSyslogd (void) } } -#ifdef BB_KLOGD +#ifdef BB_FEATURE_KLOGD static void klogd_signal(int sig) { @@ -407,7 +407,7 @@ extern int syslogd_main(int argc, char **argv) int pid, klogd_pid; int doFork = TRUE; -#ifdef BB_KLOGD +#ifdef BB_FEATURE_KLOGD int startKlogd = TRUE; #endif int stopDoingThat = FALSE; @@ -427,7 +427,7 @@ extern int syslogd_main(int argc, char **argv) case 'n': doFork = FALSE; break; -#ifdef BB_KLOGD +#ifdef BB_FEATURE_KLOGD case 'K': startKlogd = FALSE; break; @@ -456,7 +456,7 @@ extern int syslogd_main(int argc, char **argv) umask(0); -#ifdef BB_KLOGD +#ifdef BB_FEATURE_KLOGD /* Start up the klogd process */ if (startKlogd == TRUE) { klogd_pid = fork(); |