summaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorEric Andersen2000-07-06 23:10:29 +0000
committerEric Andersen2000-07-06 23:10:29 +0000
commit03f4c27bd6b79dcc953f0ee0d8c158d7ebe9cad8 (patch)
tree74ffc325b43e1c1920c6e9c1cd30104231d97d61 /sysklogd
parent67536ffa437a54504f18492244df4e03ce636e7f (diff)
downloadbusybox-03f4c27bd6b79dcc953f0ee0d8c158d7ebe9cad8.zip
busybox-03f4c27bd6b79dcc953f0ee0d8c158d7ebe9cad8.tar.gz
Turned some stuff into features that really are features, not apps.
-Erik
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/syslogd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index f4e7f45..9ab228f 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();