diff options
| author | Roy Marples <roy@marples.name> | 2007-11-14 12:53:21 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2007-11-14 12:53:21 +0000 |
| commit | d9953ffbacc726660d6a168cc0c6db32029b2635 (patch) | |
| tree | 097faf0e8f29c58b5c74a6f4a5a5548ef894f2b0 /config.h | |
| parent | c8adbc61bf067b487302892556a11b18456e78b5 (diff) | |
| download | dhcpcd-d9953ffbacc726660d6a168cc0c6db32029b2635.tar.xz | |
Allow INFODIR to control where we keep our info files.
Respect MANPREFIX.
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -57,10 +57,11 @@ #define STATEDIR "/var" #define PIDFILE STATEDIR "/run/" PACKAGE "-%s.pid" -#define CONFIGDIR STATEDIR "/lib/" PACKAGE -#define INFOFILE CONFIGDIR "/" PACKAGE "-%s.info" - -#define DUIDFILE CONFIGDIR "/" PACKAGE ".duid" +#ifndef INFODIR +# define INFODIR "/var/lib/dhcpcd" +#endif +#define INFOFILE INFODIR "/" PACKAGE "-%s.info" +#define DUIDFILE INFODIR "/" PACKAGE ".duid" /* ORC is Open Run Control, forked from Gentoo's baselayout package * BRC is BSD style Run Control |
