From 2c51668a22c800befe37f6f6017744a6fe8ca6aa Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Wed, 8 Jul 1998 23:25:34 +0000 Subject: [PATCH] Fix up PID file definitions --- includes/cf/nextstep.h | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/includes/cf/nextstep.h b/includes/cf/nextstep.h index c1e88e1d..38b4d479 100644 --- a/includes/cf/nextstep.h +++ b/includes/cf/nextstep.h @@ -68,9 +68,19 @@ extern int h_errno; #define IPTOS_THROUGHPUT 0x08 #define IPTOS_RELIABILITY 0x04 #endif -#define _PATH_DHCPD_PID "/etc/dhcpd.pid" -#define _PATH_DHCLIENT_PID "/etc/dhclient.pid" -#define _PATH_DHCLIENT_PID "/etc/dhcrelay.pid" + +#if !defined (_PATH_DHCPD_PID) +# define _PATH_DHCPD_PID "/etc/dhcpd.pid" +#endif + +#if !defined (_PATH_DHCLIENT_PID) +# define _PATH_DHCLIENT_PID "/etc/dhclient.pid" +#endif + +#if !defined (_PATH_DHCRELAY_PID) +# define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid" +#endif + /* Stdarg definitions for ANSI-compliant C compilers. */ #import #define VA_DOTDOTDOT ...