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 D036A138ACF for ; Fri, 16 Jan 2015 18:16:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 25521E08AF; Fri, 16 Jan 2015 18:16:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A1629E08AF for ; Fri, 16 Jan 2015 18:16:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AEC313407A4 for ; Fri, 16 Jan 2015 18:16:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5BB6DFB74 for ; Fri, 16 Jan 2015 18:16:08 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1421383493.0dd6367068b46c1cc0b5f83d2716d9cfd2a076ec.robbat2@OpenRC> Subject: [gentoo-commits] proj/netifrc:master commit in: sh/ X-VCS-Repository: proj/netifrc X-VCS-Files: sh/functions.sh X-VCS-Directories: sh/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 0dd6367068b46c1cc0b5f83d2716d9cfd2a076ec X-VCS-Branch: master Date: Fri, 16 Jan 2015 18:16:08 +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: 9e76eb4f-2942-4b7f-838f-22e412b731e9 X-Archives-Hash: 3edf9bf96bbe6db1f814fd94835cc793 commit: 0dd6367068b46c1cc0b5f83d2716d9cfd2a076ec Author: Doug Freed mtu edu> AuthorDate: Fri Jan 16 04:44:53 2015 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Fri Jan 16 04:44:53 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/netifrc.git;a=commit;h=0dd63670 functions.sh: fix check for OpenRC Fix the check for OpenRC so that it actually matches whether it's running under OpenRC. Reported-By: Patrick McLean gentoo.org> --- sh/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/functions.sh b/sh/functions.sh index 368bb73..e209701 100644 --- a/sh/functions.sh +++ b/sh/functions.sh @@ -16,7 +16,7 @@ else fi # runscript functions -if [ -z "$(command -v service_set_value >/dev/null 2>&1)" ]; then +if [ "$INIT" != "openrc" ]; then # OpenRC functions used in depend after() {