mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-21 03:02:09 +00:00
changed name from blocklist to blacklist to keep more uniform
This commit is contained in:
parent
39644bd29e
commit
ef5f90e02c
@ -12,7 +12,7 @@ echo iptables-persistent iptables-persistent/autosave_v6 boolean true | debconf-
|
|||||||
apt_install -y ipset
|
apt_install -y ipset
|
||||||
ipset create blacklist hash:net
|
ipset create blacklist hash:net
|
||||||
iptables -I INPUT -m set --match-set blacklist src -j DROP
|
iptables -I INPUT -m set --match-set blacklist src -j DROP
|
||||||
cp conf/blocklist/blocklist /etc/cron.daily/blocklist
|
cp conf/blacklist/blacklist /etc/cron.daily/blacklist
|
||||||
chmod a+x /etc/cron.daily/blacklist
|
chmod a+x /etc/cron.daily/blacklist
|
||||||
time /etc/cron.daily/blacklist
|
time /etc/cron.daily/blacklist
|
||||||
apt_install -y iptables-persistent
|
apt_install -y iptables-persistent
|
@ -128,7 +128,7 @@ management/ssl_certificates.py -q
|
|||||||
source setup/firstuser.sh
|
source setup/firstuser.sh
|
||||||
|
|
||||||
#Setup Blocklist
|
#Setup Blocklist
|
||||||
source setup/blocklist.sh
|
source setup/blacklist.sh
|
||||||
|
|
||||||
# Done.
|
# Done.
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user