tftp: introduce an alternative command line for TFTP #8

Merged
rlahfa merged 17 commits from strong-tftp into main 2024-09-01 17:48:54 +02:00
Showing only changes of commit 50d1bd1223 - Show all commits

View file

@ -21,9 +21,13 @@ let
service = oneshot {
name = "${primary.name}.member.${member.name}";
up = ''
echo "attaching $(output ${member} ifname) to $(output ${primary} ifname) bridge"
ip link set dev $(output ${member} ifname) master $(output ${primary} ifname)
'';
down = "ip link set dev $(output ${member} ifname) nomaster";
down = ''
echo "detaching $(output ${member} ifname) from any bridge"
ip link set dev $(output ${member} ifname) nomaster
'';
};
};
in bundle {