mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtlogin: use proper path to getty and /usr/local/bin in path on Linux
This commit is contained in:
parent
2d08153289
commit
e3973a9320
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue