From dabd8b22ca2313e217cc26a4d30b72b777d771ac Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Tue, 6 Nov 2012 23:21:38 +0000 Subject: checkbashisms: export syntax. Signed-off-by: Robin H. Johnson --- 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 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() -- cgit v1.2.3