diff options
| author | Roy Marples <roy@marples.name> | 2008-04-14 13:09:44 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-04-14 13:09:44 +0000 |
| commit | c46c624e7f2cfba9b12043c2f7d779f46ec3539b (patch) | |
| tree | 3252cdb8fef44d74840eda1ce7755d6f34c5e6f7 /config.h | |
| parent | 009d046214f607a0989a74c2ee055d72e4989f00 (diff) | |
| download | dhcpcd-c46c624e7f2cfba9b12043c2f7d779f46ec3539b.tar.xz | |
Change a few build/install knobs.
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 26 |
1 files changed, 15 insertions, 11 deletions
@@ -47,20 +47,24 @@ /* Packname name and pathname definitions. */ -#define PACKAGE "dhcpcd" +#define PACKAGE "dhcpcd" -#define ETCDIR "/etc" -#define RESOLVFILE ETCDIR "/resolv.conf" -#define DEFAULT_SCRIPT ETCDIR "/" PACKAGE ".sh" +#define RESOLVFILE "/etc/resolv.conf" +#ifndef SYSCONFDIR +# define SYSCONFDIR "/etc" +#endif +#define DEFAULTSCRIPT SYSCONFDIR "/" PACKAGE ".sh" -#define STATEDIR "/var" -#define PIDFILE STATEDIR "/run/" PACKAGE "-%s.pid" +#ifndef RUNDIR +# define RUNDIR "/var/run" +#endif +#define PIDFILE RUNDIR "/" PACKAGE "-%s.pid" -#ifndef INFODIR -# define INFODIR "/var/db" +#ifndef DBDIR +# define DBDIR "/var/db" #endif -#define LEASEFILE INFODIR "/" PACKAGE "-%s.lease" -#define INFOFILE INFODIR "/" PACKAGE "-%s.info" -#define DUIDFILE INFODIR "/" PACKAGE ".duid" +#define LEASEFILE DBDIR "/" PACKAGE "-%s.lease" +#define INFOFILE DBDIR "/" PACKAGE "-%s.info" +#define DUIDFILE DBDIR "/" PACKAGE ".duid" #endif |
