summaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-04-17 21:18:20 +0000
committerRoy Marples <roy@marples.name>2008-04-17 21:18:20 +0000
commit7eb93bd9e42aa2d63c28e006f74ee19d0a13a31d (patch)
tree1c6ce62a589776e0655ab90ac99f4c0994fb22ae /config.h
parentbce34c740b9cb1e9caa02b2a0ccc19d98df87c64 (diff)
downloaddhcpcd-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.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/config.h b/config.h
index f8bb018c..bda7efb8 100644
--- a/config.h
+++ b/config.h
@@ -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