Use IFACE variable instead of iface.

Signed-off-by: Daniel Mierswa <impulze@impulze.org>
This commit is contained in:
Daniel Mierswa 2009-12-30 21:02:08 +01:00 committed by Roy Marples
parent 5ec2efaff2
commit f434c902a5

View File

@ -87,7 +87,7 @@ vlan_post_start()
# We need to work out the interface name of our new vlan id
local ifname="$(sed -n -e \
's/^\([^[:space:]]*\) *| '"${vlan}"' *| .*'"${iface}"'$/\1/p' \
's/^\([^[:space:]]*\) *| '"${vlan}"' *| .*'"${IFACE}"'$/\1/p' \
/proc/net/vlan/config )"
mark_service_started "net.${ifname}"
(