mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
Captive-Portal: add crontab and cleanup scripts
The cleanup script is called every hour and deletes expired clients from the clients file. every night the captivectrl warpper runs once to flush the chains and reload rules for active clients Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
8b92078917
commit
4d9002279f
@@ -107,6 +107,7 @@ endif
|
||||
# Move script to correct place.
|
||||
mv -vf /usr/local/bin/ovpn-ccd-convert /usr/sbin/
|
||||
mv -vf /usr/local/bin/ovpn-collectd-convert /usr/sbin/
|
||||
mv -vf /usr/local/bin/captive-cleanup /usr/bin/
|
||||
|
||||
# Install firewall scripts.
|
||||
mkdir -pv /usr/lib/firewall
|
||||
|
||||
Reference in New Issue
Block a user