From f434c902a521deb3e6d057c3ffa4c11f9875a81b Mon Sep 17 00:00:00 2001 From: Daniel Mierswa Date: Wed, 30 Dec 2009 21:02:08 +0100 Subject: [PATCH] Use IFACE variable instead of iface. Signed-off-by: Daniel Mierswa --- net/vlan.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/vlan.sh b/net/vlan.sh index 48838ef8..d54adeb9 100644 --- a/net/vlan.sh +++ b/net/vlan.sh @@ -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}" (