gl-mt300n-v2 use full path to swconfig in service stop
This commit is contained in:
parent
7e4a05bbf8
commit
792a11c8c0
1 changed files with 1 additions and 1 deletions
|
@ -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]; };
|
||||
|
|
Loading…
Reference in a new issue