liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 792a11c8c091ab535d3e9f9c245390d0c3606288
parent 7e4a05bbf8492afb231ddcaf225e66773caf2369
Author: Daniel Barlow <dan@telent.net>
Date:   Sun, 28 Apr 2024 21:32:42 +0100

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

Diffstat:
Mdevices/gl-mt300n-v2/default.nix | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

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