add contrib
This commit is contained in:
15
contrib/systemd/capport-shaping.service.erb
Normal file
15
contrib/systemd/capport-shaping.service.erb
Normal 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
|
Reference in New Issue
Block a user