mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-10-01 00:55:42 -04:00
add CAKE configuration unit
This commit is contained in:
parent
03ebca7fda
commit
69effda0bc
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…
Reference in New Issue
Block a user