From 1edcee2141c48a6bd767e9400b0883e6de9d14e5 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Sat, 7 Jun 2014 06:45:19 +0200 Subject: check if dhcpd exists and is executable --- config.def.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 8f6e7ec..2e822fd 100644 --- a/config.def.h +++ b/config.def.h @@ -15,6 +15,9 @@ #define CONFIG_TEMPLATE "/etc/dyndhcpd/dhcpd.conf" #define CONFIG_OUTPUT "/run/dhcpd-%s.conf" +/* dhcpd executable */ +#define DHCPDFILE "/usr/bin/dhcpd" + /* 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" -- cgit v1.2.3-54-g00ecf