mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-05-13 12:12:35 -04:00
add CAKE configuration unit
This commit is contained in:
parent
03ebca7fda
commit
69effda0bc
2 changed files with 13 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
cake.service.tmp
|
12
cake.service
Normal file
12
cake.service
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Set CAKE configuration
|
||||||
|
After=network.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
User=root
|
||||||
|
Group=root
|
||||||
|
ExecStart=/usr/bin/tc qdisc replace dev eth0 root cake bandwidth {bandwidth} besteffort
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue