Use IFACE variable instead of iface.
Signed-off-by: Daniel Mierswa <impulze@impulze.org>
This commit is contained in:
parent
5ec2efaff2
commit
f434c902a5
@ -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}"
|
||||
(
|
||||
|
Loading…
Reference in New Issue
Block a user