]> git.pld-linux.org Git - packages/util-linux.git/blob - util-linux-fhs.patch
- init var
[packages/util-linux.git] / util-linux-fhs.patch
1 diff -urN util-linux-2.11d.org/lib/pathnames.h util-linux-2.11d/lib/pathnames.h
2 --- util-linux-2.11d.org/lib/pathnames.h        Sun Jun  3 21:48:00 2001
3 +++ util-linux-2.11d/lib/pathnames.h    Sun Jun  3 21:48:47 2001
4 @@ -86,6 +86,10 @@
5  #define LOGDIR                  "/var/log"
6  #endif
7  
8 +#ifndef DATAMISCDIR
9 +#define DATAMISCDIR              "/usr/share/misc"
10 +#endif
11 +
12  #ifndef VARPATH
13  #define VARPATH                        "/var"
14  #endif
15 @@ -101,7 +105,7 @@
16  #define SECURETTY              "/etc/securetty"
17  #define _PATH_UTMP             "/var/run/utmpx"
18  #define _PATH_WTMP             LOGDIR "/wtmpx"
19 -#define _PATH_WTMPLOCK         "/etc/wtmplock"
20 +#define _PATH_WTMPLOCK         VARPATH "/lock/wtmplock"
21  
22  /* no more . in DEFPATH */
23  #define        _PATH_DEFPATH           "/usr/local/bin:/bin:/usr/bin"
24 @@ -110,7 +114,7 @@
25  #define        _PATH_LASTLOG           LOGDIR "/lastlog"
26  
27  #ifndef _PATH_MAILDIR
28 -#define        _PATH_MAILDIR           VARPATH "/spool/mail"
29 +#define        _PATH_MAILDIR           VARPATH "/mail"
30  #endif
31  #define        _PATH_MOTDFILE          "/etc/motd"
32  #define        _PATH_NOLOGIN           "/etc/nologin"
33
This page took 0.060885 seconds and 3 git commands to generate.