aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2012-11-06 23:18:32 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2012-11-06 23:18:32 +0000
commit54562d3525ae99a7982b4e506978dc0b875c240c (patch)
tree050fb5a4cfbe52725764d39debeb1cf809a47257 /net
parented3b0c66f9e90b8fafb7996b7700fd34db7ddc11 (diff)
net/vlan: checkbashisms.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'net')
-rw-r--r--net/vlan.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/vlan.sh b/net/vlan.sh
index b29af801..458cb2d9 100644
--- a/net/vlan.sh
+++ b/net/vlan.sh
@@ -117,7 +117,7 @@ vlan_post_start()
/proc/net/vlan/config )"
mark_service_started "net.${ifname}"
(
- export RC_SVCNAME="net.${ifname}"
+ RC_SVCNAME="net.${ifname}" ; export RC_SVCNAME
start
) || mark_service_stopped "net.${ifname}"
done
@@ -134,7 +134,7 @@ vlan_pre_stop()
for vlan in $(_get_vlans); do
einfo "Removing VLAN ${vlan##*.} from ${IFACE}"
(
- export RC_SVCNAME="net.${vlan}"
+ RC_SVCNAME="net.${vlan}" ; export RC_SVCNAME
stop
) && {
mark_service_stopped "net.${vlan}"