summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2012-11-06 23:21:38 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2012-11-06 23:21:40 +0000
commitdabd8b22ca2313e217cc26a4d30b72b777d771ac (patch)
treeca512fd1115d0966a13e3af744ffb9b554948847 /net
parent54562d3525ae99a7982b4e506978dc0b875c240c (diff)
downloadopenrc-dabd8b22ca2313e217cc26a4d30b72b777d771ac.tar.gz
openrc-dabd8b22ca2313e217cc26a4d30b72b777d771ac.tar.bz2
openrc-dabd8b22ca2313e217cc26a4d30b72b777d771ac.tar.xz
checkbashisms: export syntax.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'net')
-rw-r--r--net/ifwatchd.sh2
-rw-r--r--net/macvlan.sh2
-rw-r--r--net/tuntap.sh2
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()