dtlogin: use proper path to getty and /usr/local/bin in path on Linux
This commit is contained in:
committed by
Jon Trulson
parent
2d08153289
commit
e3973a9320
@@ -1496,6 +1496,8 @@ SetTitle( char *name, char *ptr )
|
||||
#define GETTYPATH "/usr/sbin/getty"
|
||||
#elif defined(__OpenBSD__)
|
||||
#define GETTYPATH "/usr/libexec/getty"
|
||||
#elif defined(__linux)
|
||||
#define GETTYPATH "/sbin/getty"
|
||||
#elif !defined (__apollo)
|
||||
#define GETTYPATH "/etc/getty"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user