mirror of
https://github.com/sheumann/hush.git
synced 2025-01-03 00:31:16 +00:00
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"
|
#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>
|
#include <sys/param.h>
|
||||||
#define USE_SYSLOG
|
#define USE_SYSLOG
|
||||||
#endif
|
|
||||||
|
|
||||||
/* If USE_SYSLOG is undefined all diagnostics go directly to /dev/console. */
|
|
||||||
#ifdef USE_SYSLOG
|
|
||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user