summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 22216e6..8f6e7ec 100644
--- a/config.def.h
+++ b/config.def.h
@@ -13,7 +13,11 @@
/* pathes for config file, first is read, second is written */
#define CONFIG_TEMPLATE "/etc/dyndhcpd/dhcpd.conf"
-#define CONFIG_OUTPUT "/tmp/dhcpd_%s.conf"
+#define CONFIG_OUTPUT "/run/dhcpd-%s.conf"
+
+/* pathes for pid and leases file, these are passed to dhcpd */
+#define PIDFILE "/run/dhcpd-%s.pid"
+#define LEASESFILE "/var/lib/dhcp/dhcp-%s.leases"
#endif /* _CONFIG_H */