Patch from Nick Fedchik, CONFIG_SYSLOGD should determine getty's
behaviour.
This commit is contained in:
parent
a486f469cb
commit
cb665093b8
@ -32,13 +32,10 @@
|
||||
|
||||
#define _PATH_LOGIN "/bin/login"
|
||||
|
||||
#ifdef linux
|
||||
/* If USE_SYSLOG is undefined all diagnostics go directly to /dev/console. */
|
||||
#ifdef CONFIG_SYSLOGD
|
||||
#include <sys/param.h>
|
||||
#define USE_SYSLOG
|
||||
#endif
|
||||
|
||||
/* If USE_SYSLOG is undefined all diagnostics go directly to /dev/console. */
|
||||
#ifdef USE_SYSLOG
|
||||
#include <syslog.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user