Compare commits
2 Commits
4214ac143d
...
6d5683aaba
| Author | SHA1 | Date | |
|---|---|---|---|
|
6d5683aaba
|
|||
|
d83cc6415e
|
@@ -60,8 +60,8 @@
|
|||||||
with pkgs;
|
with pkgs;
|
||||||
builtins.attrValues {
|
builtins.attrValues {
|
||||||
FabricApi = fetchurl {
|
FabricApi = fetchurl {
|
||||||
url = "https://cdn.modrinth.com/data/P7dR8mSH/versions/rYSz5dRU/fabric-api-0.119.6%2B1.21.5.jar";
|
url = "https://cdn.modrinth.com/data/P7dR8mSH/versions/ZOyJh09R/fabric-api-0.120.0%2B1.21.5.jar";
|
||||||
sha512 = "80a4660c9bf5410b37ee4c2bf86ed1fcaccd77cea7fd203e00650659f02271a71d367cd95178f9177998401d1693ec48753a3e73b1ba96631c014e7a92d64501";
|
sha512 = "a4db4ae64f6590c69e5b86fdd6e89c66e8f3160d57dfa4369ea64fdc9bfb1f3812c2ed8ffdddca43c01d3335aaf404b283f5761b42ecc5389cd1ca206e6f500e";
|
||||||
};
|
};
|
||||||
|
|
||||||
FerriteCore = fetchurl {
|
FerriteCore = fetchurl {
|
||||||
|
|||||||
@@ -57,13 +57,13 @@
|
|||||||
${pkgs.iproute2}/bin/tc filter add dev ${eth_interface} parent 1: protocol ip prio 1 handle 1 fw flowid 1:20
|
${pkgs.iproute2}/bin/tc filter add dev ${eth_interface} parent 1: protocol ip prio 1 handle 1 fw flowid 1:20
|
||||||
'';
|
'';
|
||||||
|
|
||||||
ExecStop = pkgs.writeShellScript "tc-stop" ''
|
ExecStop = pkgs.writeShellScript "tc-stop" ''
|
||||||
${pkgs.iproute2}/bin/tc filter del dev ${eth_interface} parent 1:
|
${pkgs.iproute2}/bin/tc filter del dev ${eth_interface} parent 1:
|
||||||
${pkgs.iproute2}/bin/tc class del dev ${eth_interface} parent 1: classid 1:20
|
${pkgs.iproute2}/bin/tc class del dev ${eth_interface} parent 1: classid 1:20
|
||||||
${pkgs.iproute2}/bin/tc class del dev ${eth_interface} parent 1: classid 1:10
|
${pkgs.iproute2}/bin/tc class del dev ${eth_interface} parent 1: classid 1:10
|
||||||
${pkgs.iproute2}/bin/tc class del dev ${eth_interface} parent 1: classid 1:1
|
${pkgs.iproute2}/bin/tc class del dev ${eth_interface} parent 1: classid 1:1
|
||||||
${pkgs.iproute2}/bin/tc qdisc del dev ${eth_interface} root
|
${pkgs.iproute2}/bin/tc qdisc del dev ${eth_interface} root
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user