From 792a11c8c091ab535d3e9f9c245390d0c3606288 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sun, 28 Apr 2024 21:32:42 +0100 Subject: [PATCH] gl-mt300n-v2 use full path to swconfig in service stop --- devices/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 index 9960a1d..3392858 100644 --- 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]; };