summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
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 b29af80..458cb2d 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}"