1
0
Fork 0
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:
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

@ -135,9 +135,7 @@ XCOMM To specify a default user PATH environment variable.
XCOMM
XCOMM Dtlogin*userPath: <path>
#if defined(linux)
Dtlogin*userPath: /bin:/usr/bin:/sbin:/usr/sbin:CDE_INSTALLATION_TOP/bin
#elif defined(CSRG_BASED)
#if defined(linux) || defined(CSRG_BASED)
Dtlogin*userPath: /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:CDE_INSTALLATION_TOP/bin
#endif

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