diff options
author | Christian Heim <phreak@gentoo.org> | 2005-10-20 17:03:41 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2005-10-20 17:03:41 +0000 |
commit | f87f368a867febcde2f1f6dc182f5f8652ed92b4 (patch) | |
tree | ca8a1a6d334c942bbd88fe0c94b44be6503d0e69 /net-scripts/net.modules.d/helpers.d/dhcpcd-wrapper | |
parent | Merging changes from baselayout revision 1572 (diff) | |
download | baselayout-vserver-f87f368a867febcde2f1f6dc182f5f8652ed92b4.tar.gz baselayout-vserver-f87f368a867febcde2f1f6dc182f5f8652ed92b4.tar.bz2 baselayout-vserver-f87f368a867febcde2f1f6dc182f5f8652ed92b4.zip |
Merging changes from baselayout 1583
svn path=/baselayout-vserver/trunk/; revision=63
Diffstat (limited to 'net-scripts/net.modules.d/helpers.d/dhcpcd-wrapper')
-rwxr-xr-x | net-scripts/net.modules.d/helpers.d/dhcpcd-wrapper | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net-scripts/net.modules.d/helpers.d/dhcpcd-wrapper b/net-scripts/net.modules.d/helpers.d/dhcpcd-wrapper index 6568d10..29710e3 100755 --- a/net-scripts/net.modules.d/helpers.d/dhcpcd-wrapper +++ b/net-scripts/net.modules.d/helpers.d/dhcpcd-wrapper @@ -37,7 +37,7 @@ if [[ ${action} == "up" ]]; then if [[ ${d} != *" nodns "* ]]; then eval search=\"\$\{dns_search_${ifvar}\}\" if [[ -n ${search} ]]; then - tmp="${revolv}.$$" + tmp="${resolv}.$$" egrep -v "^[ \t]*(search|domain)[ \t]*" "${resolv}" > "${tmp}" echo "search ${search}" >> "${tmp}" mv "${tmp}" "${resolv}" |