VLAN link should depend on parent link
This commit is contained in:
parent
0a70be7e65
commit
f0159110a7
@ -142,6 +142,10 @@ func (t *S6SvcTree) ReadyServices(i Iface) (r []*S6Svc) {
|
||||
"ip link set dev $INTERFACE down",
|
||||
}, "\n")
|
||||
svc_link.S6Children(t.netdevCreateBundleStage(i.Name, "configure"))
|
||||
// VLAN interfaces are quite special
|
||||
if i.Type == &NetdevIfTypes.Vlan {
|
||||
svc_link.S6Children(t.LinkIfaceService(i.Parent.Name))
|
||||
}
|
||||
|
||||
bundle_ready := t.NetdevDependBundleStage(i.Name, "ready", svc_link)
|
||||
r = append(r, bundle_ready)
|
||||
|
Loading…
Reference in New Issue
Block a user