diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-02-08 22:33:53 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-02-08 22:33:53 +0000 |
commit | 6dbdb4092c5b1a51fec5b13a58b361f5f1896f8e (patch) | |
tree | 8343ebbbb7c8d132aa36078046927648a4da99ac /loginutils/getty.c | |
parent | ad68c6dc7869a6d5348ef34be68774b48520923a (diff) | |
download | busybox-w32-6dbdb4092c5b1a51fec5b13a58b361f5f1896f8e.tar.gz busybox-w32-6dbdb4092c5b1a51fec5b13a58b361f5f1896f8e.tar.bz2 busybox-w32-6dbdb4092c5b1a51fec5b13a58b361f5f1896f8e.zip |
Patch from Nick Fedchik, CONFIG_SYSLOGD should determine getty's
behaviour.
git-svn-id: svn://busybox.net/trunk/busybox@6536 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'loginutils/getty.c')
-rw-r--r-- | loginutils/getty.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c index 1b9c6ac4d..b8be8b603 100644 --- a/loginutils/getty.c +++ b/loginutils/getty.c | |||
@@ -32,13 +32,10 @@ | |||
32 | 32 | ||
33 | #define _PATH_LOGIN "/bin/login" | 33 | #define _PATH_LOGIN "/bin/login" |
34 | 34 | ||
35 | #ifdef linux | 35 | /* If USE_SYSLOG is undefined all diagnostics go directly to /dev/console. */ |
36 | #ifdef CONFIG_SYSLOGD | ||
36 | #include <sys/param.h> | 37 | #include <sys/param.h> |
37 | #define USE_SYSLOG | 38 | #define USE_SYSLOG |
38 | #endif | ||
39 | |||
40 | /* If USE_SYSLOG is undefined all diagnostics go directly to /dev/console. */ | ||
41 | #ifdef USE_SYSLOG | ||
42 | #include <syslog.h> | 39 | #include <syslog.h> |
43 | #endif | 40 | #endif |
44 | 41 | ||