18 lines
555 B
Plaintext
18 lines
555 B
Plaintext
--- client/dhclient.c
|
|
+++ client/dhclient.c 2008/09/08 15:31:00
|
|
@@ -355,6 +355,14 @@ int main (argc, argv, envp)
|
|
/* Parse the dhclient.conf file. */
|
|
read_client_conf ();
|
|
|
|
+ /*
|
|
+ ** Override the script name definition in the config file
|
|
+ ** with the one provided as command line argument...:
|
|
+ */
|
|
+ if(no_dhclient_script) {
|
|
+ top_level_config.script_name = path_dhclient_script;
|
|
+ }
|
|
+
|
|
/* If the user specified a hostname, send it here and now */
|
|
if ((dhclient_hostname != NULL) && (*dhclient_hostname != '\0') ) {
|
|
struct parse *cfile = NULL;
|