From 25d90a6bf183bf5ebfd80070cfe49ca7fad7f4e4 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 6 Jul 2005 21:10:03 +0000 Subject: [PATCH] Add dhclient-script --- etc/inc/interfaces.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 9107116bf7..4afa9fd2bb 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -517,7 +517,7 @@ function interfaces_opt_dhcp_configure($interface) { interface "{$optcfg['if']}" { send dhcp-client-identifier "{$optcfg['dhcphostname']}"; send host-name "{$optcfg['dhcphostname']}"; - + script "/etc/dhclient-script"; } EOD; @@ -556,8 +556,7 @@ function interfaces_wan_dhcp_configure() { interface "{$wancfg['if']}" { send dhcp-client-identifier "{$wancfg['dhcphostname']}"; send host-name "{$wancfg['dhcphostname']}"; - - + script "/etc/dhclient-script"; } EOD;