add outputs for vlan service
This commit is contained in:
parent
0abe4f96a7
commit
b36272f99e
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,9 @@ in oneshot rec {
|
|||
up = ''
|
||||
ip link add link $(output ${primary} ifname) name ${ifname} type vlan id ${vid}
|
||||
${liminix.networking.ifup name ifname}
|
||||
(in_outputs ${name}
|
||||
echo ${ifname} > ifname
|
||||
)
|
||||
'';
|
||||
down = "ip link set down dev ${ifname}";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue