aboutsummaryrefslogtreecommitdiff
path: root/net.Linux
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-19 19:57:24 +0000
committerRoy Marples <roy@marples.name>2008-03-19 19:57:24 +0000
commit6159a32f39afc60d88602cc796cef6a395bb78bf (patch)
tree6b2471081a475c0c42b41bd7aca6a1a0e8fcdbe6 /net.Linux
parent6d2e1f7addcf5ff6594d381845708229086d8d96 (diff)
SVCNAME -> RC_SVCNAME, but export SVCNAME still for compat.
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}"