From 70f1aa530fd7953c66248a4002d5ba42f5f5e6e9 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 6 May 2014 15:26:41 +0200 Subject: start dhcpd with different pid and leases file --- config.def.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config.def.h') 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 */ -- cgit v1.2.3-54-g00ecf