diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2012-11-06 23:21:38 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2012-11-06 23:21:40 +0000 |
commit | dabd8b22ca2313e217cc26a4d30b72b777d771ac (patch) | |
tree | ca512fd1115d0966a13e3af744ffb9b554948847 | |
parent | 54562d3525ae99a7982b4e506978dc0b875c240c (diff) |
checkbashisms: export syntax.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r-- | net/ifwatchd.sh | 2 | ||||
-rw-r--r-- | net/macvlan.sh | 2 | ||||
-rw-r--r-- | net/tuntap.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/net/ifwatchd.sh b/net/ifwatchd.sh index f9116b9a..a39e1c18 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 86a659c4..1b95f5c0 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 d0f24c58..331fd83f 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() |