dtlogin: use proper path to getty and /usr/local/bin in path on Linux

This commit is contained in:
Isaac Dunham
2013-09-22 17:15:06 -07:00
committed by Jon Trulson
parent 2d08153289
commit e3973a9320
2 changed files with 3 additions and 3 deletions

View File

@@ -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