]> git.pld-linux.org Git - packages/util-linux.git/blame - util-linux-fhs.patch
- init var
[packages/util-linux.git] / util-linux-fhs.patch
CommitLineData
d95dd929
AM
1diff -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
14004719 4@@ -86,6 +86,10 @@
399add0a 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
14004719 15@@ -101,7 +105,7 @@
399add0a 16 #define SECURETTY "/etc/securetty"
17 #define _PATH_UTMP "/var/run/utmpx"
18 #define _PATH_WTMP LOGDIR "/wtmpx"
19-#define _PATH_WTMPLOCK "/etc/wtmplock"
d95dd929 20+#define _PATH_WTMPLOCK VARPATH "/lock/wtmplock"
399add0a 21
22 /* no more . in DEFPATH */
23 #define _PATH_DEFPATH "/usr/local/bin:/bin:/usr/bin"
14004719 24@@ -110,7 +114,7 @@
399add0a 25 #define _PATH_LASTLOG LOGDIR "/lastlog"
14004719
AF
26
27 #ifndef _PATH_MAILDIR
399add0a 28-#define _PATH_MAILDIR VARPATH "/spool/mail"
29+#define _PATH_MAILDIR VARPATH "/mail"
14004719 30 #endif
399add0a 31 #define _PATH_MOTDFILE "/etc/motd"
32 #define _PATH_NOLOGIN "/etc/nologin"
7a2227de 33
This page took 0.115417 seconds and 4 git commands to generate.