gl-mt300n-v2 use full path to swconfig in service stop

This commit is contained in:
Daniel Barlow 2024-04-28 21:32:42 +01:00
parent 7e4a05bbf8
commit 792a11c8c0

View file

@ -97,7 +97,7 @@
swconfig dev switch0 vlan 2 set ports '0 6t' swconfig dev switch0 vlan 2 set ports '0 6t'
swconfig dev switch0 set apply swconfig dev switch0 set apply
''; '';
down = "swconfig dev switch0 set reset"; down = "${pkgs.swconfig}/bin/swconfig dev switch0 set reset";
}; };
in rec { in rec {
eth = link.build { ifname = "eth0"; dependencies = [swconfig]; }; eth = link.build { ifname = "eth0"; dependencies = [swconfig]; };