#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
.Bl -ohang
.It Pa @SYSCONFDIR@/dhcpcd.sh
Bourne shell script that is run when we configure or deconfigure an interface.
-.It Pa @DBDIR@/dhcpcd.duid
+.It Pa @SYSCONFDIR@/dhcpcd.duid
Text file that holds the DUID used to identify the host.
.It Pa @DBDIR@/dhcpcd- Ns Ar interface Ns .lease
The actual DHCP message send by the server. We use this when reading the last