diff options
Diffstat (limited to 'net-scripts/net.modules.d/helpers.d/pump-wrapper')
-rwxr-xr-x | net-scripts/net.modules.d/helpers.d/pump-wrapper | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/net-scripts/net.modules.d/helpers.d/pump-wrapper b/net-scripts/net.modules.d/helpers.d/pump-wrapper index 1adf0bf..bf76ef3 100755 --- a/net-scripts/net.modules.d/helpers.d/pump-wrapper +++ b/net-scripts/net.modules.d/helpers.d/pump-wrapper @@ -22,14 +22,7 @@ if [[ ${action} == "up" ]]; then fi fi - # Add any search paths if we have any defined - ifvar=$( bash_variable "${interface}" ) - eval d=\" \$\{dhcp_${ifvar}\} \" - [[ ${d} == " " ]] && d=" ${dhcp} " - - resolv="${statedir}/${interface}/resolv.conf" - - system_dns_extra "${interface}" "${resolv}" + system_dns_extra "${interface}" "${statedir}/${interface}/resolv.conf" fi . /lib/rcscripts/net.modules.d/helpers.d/dhcp-state |