From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 684601381F3 for ; Sat, 22 Dec 2012 15:47:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E3C121C065; Sat, 22 Dec 2012 15:47:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9F2A221C065 for ; Sat, 22 Dec 2012 15:47:06 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BAEB733D777 for ; Sat, 22 Dec 2012 15:47:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 49EA5E543C for ; Sat, 22 Dec 2012 15:47:04 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1356190718.7bda62d844a31b5dda34706c80850027a17f03e7.WilliamH@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: sh/ X-VCS-Repository: proj/openrc X-VCS-Files: sh/udhcpc-hook.sh.in X-VCS-Directories: sh/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 7bda62d844a31b5dda34706c80850027a17f03e7 X-VCS-Branch: master Date: Sat, 22 Dec 2012 15:47:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0ed9da80-d190-493d-97a4-651cb0cbeffa X-Archives-Hash: 50709312cdaacf87b43525ababe5d84a commit: 7bda62d844a31b5dda34706c80850027a17f03e7 Author: William Hubbs gmail com> AuthorDate: Sat Dec 22 15:38:38 2012 +0000 Commit: William Hubbs gentoo org> CommitDate: Sat Dec 22 15:38:38 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=7bda62d8 udhcpc: fix resolv.conf setting for domain The value that was supposed to be in the domain setting was being added incorrectly to search. Reported-by: bug mejor.pl X-Gentoo-Bug: 446862 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=446862 --- sh/udhcpc-hook.sh.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sh/udhcpc-hook.sh.in b/sh/udhcpc-hook.sh.in index 31f5e68..0744a04 100644 --- a/sh/udhcpc-hook.sh.in +++ b/sh/udhcpc-hook.sh.in @@ -14,7 +14,7 @@ update_dns() [ -z "${domain}" ] && [ -z "${dns}" ] && return conf="# Generated by udhcpc for ${interface}\n" - [ -n "${domain}" ] && conf="${conf}search ${domain}\n" + [ -n "${domain}" ] && conf="${conf}domain ${domain}\n" for i in ${dns} ; do conf="${conf}nameserver ${i}\n" done