2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 14:25:41 +00:00

fix up dhclient script defaults.

This commit is contained in:
Ted Lemon
2001-03-22 07:01:11 +00:00
parent 4b63da96d1
commit e47988bfd7

View 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;