aboutsummaryrefslogtreecommitdiff
path: root/net.Linux
diff options
context:
space:
mode:
Diffstat (limited to 'net.Linux')
-rw-r--r--net.Linux/tuntap.sh2
-rw-r--r--net.Linux/vlan.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/net.Linux/tuntap.sh b/net.Linux/tuntap.sh
index 142c0f8f..3174d812 100644
--- a/net.Linux/tuntap.sh
+++ b/net.Linux/tuntap.sh
@@ -10,7 +10,7 @@ _config_vars="$_config_vars tunctl"
_is_tuntap()
{
- [ -n "$(export SVCNAME="net.${IFACE}"; service_get_value tuntap)" ]
+ [ -n "$(export RC_SVCNAME="net.${IFACE}"; service_get_value tuntap)" ]
}
tuntap_pre_start()
diff --git a/net.Linux/vlan.sh b/net.Linux/vlan.sh
index 2883f3b6..7d77aae8 100644
--- a/net.Linux/vlan.sh
+++ b/net.Linux/vlan.sh
@@ -91,7 +91,7 @@ vlan_post_start()
/proc/net/vlan/config )"
mark_service_started "net.${ifname}"
(
- export SVCNAME="net.${ifname}"
+ export RC_SVCNAME="net.${ifname}"
start
) || mark_service_stopped "net.${ifname}"
done
@@ -106,7 +106,7 @@ vlan_post_stop()
for vlan in $(_get_vlans); do
einfo "Removing VLAN ${vlan##*.} from ${IFACE}"
(
- export SVCNAME="net.${vlan}"
+ export RC_SVCNAME="net.${vlan}"
stop
) && {
mark_service_stopped "net.${vlan}"