]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
fix up dhclient script defaults.
authorTed Lemon <source@isc.org>
Thu, 22 Mar 2001 07:01:11 +0000 (07:01 +0000)
committerTed Lemon <source@isc.org>
Thu, 22 Mar 2001 07:01:11 +0000 (07:01 +0000)
includes/dhcpd.h

index e268022802fdb731f8ac17d67640fc7fb5dcf833..ccd376ea3e3dfef24f2130d65208b8d4862679b1 100644 (file)
@@ -446,10 +446,6 @@ struct lease_state {
 # define CL_DEFAULT_BOOTP_POLICY P_ACCEPT
 #endif
 
-#ifndef CL_DEFAULT_SCRIPT_NAME
-# define CL_DEFAULT_SCRIPT_NAME "/etc/dhclient-script"
-#endif
-
 #ifndef CL_DEFAULT_REQUESTED_OPTIONS
 # define CL_DEFAULT_REQUESTED_OPTIONS \
        { DHO_SUBNET_MASK, \
@@ -877,6 +873,10 @@ typedef unsigned char option_mask [16];
 #define _PATH_DHCLIENT_CONF    "/etc/dhclient.conf"
 #endif
 
+#ifndef _PATH_DHCLIENT_SCRIPT
+#define _PATH_DHCLIENT_SCRIPT  "/sbin/dhclient-script"
+#endif
+
 #ifndef _PATH_DHCLIENT_PID
 #define _PATH_DHCLIENT_PID     "/var/run/dhclient.pid"
 #endif
@@ -1749,6 +1749,7 @@ char *piaddr PROTO ((struct iaddr));
 extern const char *path_dhclient_conf;
 extern const char *path_dhclient_db;
 extern const char *path_dhclient_pid;
+extern char *path_dhclient_script;
 extern int interfaces_requested;
 
 extern struct client_config top_level_config;