diff options
| author | Roy Marples <roy@marples.name> | 2008-04-17 21:18:20 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-04-17 21:18:20 +0000 |
| commit | 7eb93bd9e42aa2d63c28e006f74ee19d0a13a31d (patch) | |
| tree | 1c6ce62a589776e0655ab90ac99f4c0994fb22ae /config.h | |
| parent | bce34c740b9cb1e9caa02b2a0ccc19d98df87c64 (diff) | |
| download | dhcpcd-7eb93bd9e42aa2d63c28e006f74ee19d0a13a31d.tar.xz | |
Move the duid file to /etc/dhcpcd as it's really a config file. Also, rename hook dirs to dhcpcd- so they could be installed into /etc and not just /etc/dhcpcd.
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -49,21 +49,20 @@ #define PACKAGE "dhcpcd" -#define RESOLVFILE "/etc/resolv.conf" #ifndef SYSCONFDIR -# define SYSCONFDIR "/etc" +# define SYSCONFDIR "/etc/" PACKAGE #endif -#define DEFAULTSCRIPT SYSCONFDIR "/" PACKAGE ".sh" - #ifndef RUNDIR # define RUNDIR "/var/run" #endif -#define PIDFILE RUNDIR "/" PACKAGE "-%s.pid" - #ifndef DBDIR # define DBDIR "/var/db" #endif + +#define RESOLVFILE "/etc/resolv.conf" +#define DEFAULTSCRIPT SYSCONFDIR "/" PACKAGE ".sh" +#define DUIDFILE SYSCONFDIR "/" PACKAGE ".duid" #define LEASEFILE DBDIR "/" PACKAGE "-%s.lease" -#define DUIDFILE DBDIR "/" PACKAGE ".duid" +#define PIDFILE RUNDIR "/" PACKAGE "-%s.pid" #endif |
