From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Rfgwf-0008MY-Ai for garchives@archives.gentoo.org; Wed, 28 Dec 2011 00:00:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 199C421C060; Wed, 28 Dec 2011 00:00:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DD69521C060 for ; Wed, 28 Dec 2011 00:00:28 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 61F481B4047 for ; Wed, 28 Dec 2011 00:00:28 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 4736080043 for ; Wed, 28 Dec 2011 00:00:27 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <20f612080c4f392abd622eab0afcd5ff5cea05f5.WilliamH@gentoo> Subject: [gentoo-commits] proj/openrc:master commit in: init.d/ X-VCS-Repository: proj/openrc X-VCS-Files: init.d/net.lo.in X-VCS-Directories: init.d/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 20f612080c4f392abd622eab0afcd5ff5cea05f5 Date: Wed, 28 Dec 2011 00:00:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: fabf5901-864f-47f0-85b3-625259eeedf7 X-Archives-Hash: 0b88a2ba19f83b9c2e4f58c33348032a commit: 20f612080c4f392abd622eab0afcd5ff5cea05f5 Author: William Hubbs gentoo org> AuthorDate: Tue Dec 27 23:59:39 2011 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue Dec 27 23:59:39 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/openrc.git;a=3D= commit;h=3D20f61208 net: use yesno to test up_before_preup --- init.d/net.lo.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/init.d/net.lo.in b/init.d/net.lo.in index 02d11a8..f8ec02c 100644 --- a/init.d/net.lo.in +++ b/init.d/net.lo.in @@ -504,7 +504,7 @@ start() # available in preup and afterwards incase the user inadvertently # brings it down if [ "$(command -v preup)" =3D "preup" ]; then - [ "${_up_before_preup}" =3D "no" ] || _up 2>/dev/null + yesno "${_up_before_preup:-yes}" && _up 2>/dev/null ebegin "Running preup" eindent preup || return 1