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
@@ -135,9 +135,7 @@ XCOMM To specify a default user PATH environment variable.
|
|||||||
XCOMM
|
XCOMM
|
||||||
XCOMM Dtlogin*userPath: <path>
|
XCOMM Dtlogin*userPath: <path>
|
||||||
|
|
||||||
#if defined(linux)
|
#if defined(linux) || defined(CSRG_BASED)
|
||||||
Dtlogin*userPath: /bin:/usr/bin:/sbin:/usr/sbin:CDE_INSTALLATION_TOP/bin
|
|
||||||
#elif defined(CSRG_BASED)
|
|
||||||
Dtlogin*userPath: /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:CDE_INSTALLATION_TOP/bin
|
Dtlogin*userPath: /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:CDE_INSTALLATION_TOP/bin
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -1496,6 +1496,8 @@ SetTitle( char *name, char *ptr )
|
|||||||
#define GETTYPATH "/usr/sbin/getty"
|
#define GETTYPATH "/usr/sbin/getty"
|
||||||
#elif defined(__OpenBSD__)
|
#elif defined(__OpenBSD__)
|
||||||
#define GETTYPATH "/usr/libexec/getty"
|
#define GETTYPATH "/usr/libexec/getty"
|
||||||
|
#elif defined(__linux)
|
||||||
|
#define GETTYPATH "/sbin/getty"
|
||||||
#elif !defined (__apollo)
|
#elif !defined (__apollo)
|
||||||
#define GETTYPATH "/etc/getty"
|
#define GETTYPATH "/etc/getty"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user