3
0

add contrib

This commit is contained in:
2023-01-13 14:05:05 +01:00
parent 5e1e67f2c4
commit a89e884b75
13 changed files with 678 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
[Unit]
Description=Captive Portal traffic shaping
Wants=basic.target
After=basic.target network.target
[Service]
Type=oneshot
RemainAfterExit=yes
StandardInput=null
ProtectSystem=full
ProtectHome=true
ExecStart=/etc/capport-tc.sh <%= @uplink_interface %> <%= @client_interface %>
[Install]
WantedBy=multi-user.target