checkbashisms: export syntax.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
parent
54562d3525
commit
dabd8b22ca
@ -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}"
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user