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 05FC51381F3 for ; Tue, 6 Nov 2012 23:23:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76807E0462; Tue, 6 Nov 2012 23:23:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DF2C6E0462 for ; Tue, 6 Nov 2012 23:23:26 +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 2B15233DC27 for ; Tue, 6 Nov 2012 23:23:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id BA54EE5442 for ; Tue, 6 Nov 2012 23:23:24 +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: <1352244100.dabd8b22ca2313e217cc26a4d30b72b777d771ac.robbat2@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: net/ X-VCS-Repository: proj/openrc X-VCS-Files: net/ifwatchd.sh net/macvlan.sh net/tuntap.sh X-VCS-Directories: net/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: dabd8b22ca2313e217cc26a4d30b72b777d771ac X-VCS-Branch: master Date: Tue, 6 Nov 2012 23:23:24 +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: 1bf01428-4af9-4184-a4d4-231159ecec09 X-Archives-Hash: a11f59a0c4d0254992844352ad0b4568 commit: dabd8b22ca2313e217cc26a4d30b72b777d771ac Author: Robin H. Johnson gentoo org> AuthorDate: Tue Nov 6 23:21:38 2012 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Tue Nov 6 23:21:40 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=dabd8b22 checkbashisms: export syntax. Signed-off-by: Robin H. Johnson gentoo.org> --- net/ifwatchd.sh | 2 +- net/macvlan.sh | 2 +- net/tuntap.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net/ifwatchd.sh b/net/ifwatchd.sh index f9116b9..a39e1c1 100644 --- a/net/ifwatchd.sh +++ b/net/ifwatchd.sh @@ -31,7 +31,7 @@ ifwatchd_pre_start() mark_service_inactive # Start ifwatchd - export IN_BACKGROUND=yes + IN_BACKGROUND=yes ; export IN_BACKGROUND start-stop-daemon --start --exec /usr/sbin/ifwatchd \ -- -c "${RC_LIBEXECDIR}/sh/ifwatchd-carrier.sh" \ -n "${RC_LIBEXECDIR}/sh/ifwatchd-nocarrier.sh" "${IFACE}" diff --git a/net/macvlan.sh b/net/macvlan.sh index 86a659c..1b95f5c 100644 --- a/net/macvlan.sh +++ b/net/macvlan.sh @@ -12,7 +12,7 @@ macvlan_depend() _is_macvlan() { - [ -n "$(export RC_SVCNAME="net.${IFACE}"; service_get_value macvlan)" ] + [ -n "$(RC_SVCNAME="net.${IFACE}"; export RC_SVCNAME ; service_get_value macvlan)" ] } macvlan_pre_start() diff --git a/net/tuntap.sh b/net/tuntap.sh index d0f24c5..331fd83 100644 --- a/net/tuntap.sh +++ b/net/tuntap.sh @@ -11,7 +11,7 @@ _config_vars="$_config_vars iproute2 openvpn tunctl" _is_tuntap() { - [ -n "$(export RC_SVCNAME="net.${IFACE}"; service_get_value tuntap)" ] + [ -n "$(RC_SVCNAME="net.${IFACE}"; export RC_SVCNAME ; service_get_value tuntap)" ] } tuntap_pre_start()