diff options
Diffstat (limited to 'include/paths.h')
-rw-r--r-- | include/paths.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/include/paths.h b/include/paths.h index 90edcf8fd..ae892c4cf 100644 --- a/include/paths.h +++ b/include/paths.h @@ -56,22 +56,24 @@ #define _PATH_PRESERVE "/var/lib" #define _PATH_RWHODIR "/var/spool/rwho" #define _PATH_SENDMAIL "/usr/sbin/sendmail" +#define _PATH_SHADOW "/etc/shadow" #define _PATH_SHELLS "/etc/shells" #define _PATH_TTY "/dev/tty" #define _PATH_UNIX "/boot/vmlinux" -#define _PATH_UTMP "/var/run/utmp" +#define _PATH_UTMP "/var/run/utmp" #define _PATH_VI "/usr/bin/vi" -#define _PATH_WTMP "/var/log/wtmp" -#define _PATH_LOCALE "/usr/lib/locale" -#define _PATH_LASTLOG "/var/log/lastlog" -#define _PATH_SHADOW "/etc/shadow" -#define _PATH_PASSWD "/etc/passwd" -#define _PATH_GROUP "/etc/group" +#define _PATH_WTMP "/var/log/wtmp" + +/* uClibc */ +#ifdef _LIBC +#define _PATH_PASSWD "/etc/passwd" +#define _PATH_GROUP "/etc/group" +#endif /* Provide trailing slash, since mostly used for building pathnames. */ #define _PATH_DEV "/dev/" #define _PATH_TMP "/tmp/" -#define _PATH_VARDB "/var/lib/misc/" +#define _PATH_VARDB "/var/db/" #define _PATH_VARRUN "/var/run/" #define _PATH_VARTMP "/var/tmp/" |