checkbashisms: export syntax.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
Robin H. Johnson 2012-11-06 23:21:38 +00:00
parent 54562d3525
commit dabd8b22ca
3 changed files with 3 additions and 3 deletions

View File

@ -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}"

View File

@ -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()

View File

@ -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()