add outputs for vlan service

This commit is contained in:
Daniel Barlow 2023-09-15 21:45:00 +01:00
parent 0abe4f96a7
commit b36272f99e

View file

@ -10,6 +10,9 @@ in oneshot rec {
up = '' up = ''
ip link add link $(output ${primary} ifname) name ${ifname} type vlan id ${vid} ip link add link $(output ${primary} ifname) name ${ifname} type vlan id ${vid}
${liminix.networking.ifup name ifname} ${liminix.networking.ifup name ifname}
(in_outputs ${name}
echo ${ifname} > ifname
)
''; '';
down = "ip link set down dev ${ifname}"; down = "ip link set down dev ${ifname}";
} }