mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-19 21:42:59 +03:00
init sysv : remove create_ipset from run_daemons
This commit is contained in:
parent
e386804610
commit
8d182f0692
@ -341,7 +341,7 @@ zapret_do_firewall()
|
|||||||
fw_nfqws_post $1 "--dport 80" "--dport 80"
|
fw_nfqws_post $1 "--dport 80" "--dport 80"
|
||||||
;;
|
;;
|
||||||
ipset)
|
ipset)
|
||||||
[ "$1" = "1" ] && create_ipset
|
[ "$1" != "1" ] || create_ipset
|
||||||
;;
|
;;
|
||||||
custom)
|
custom)
|
||||||
# PLACEHOLDER
|
# PLACEHOLDER
|
||||||
@ -379,9 +379,6 @@ zapret_run_daemons()
|
|||||||
nfqws_ipset|nfqws_ipset_https|nfqws_all|nfqws_all_https)
|
nfqws_ipset|nfqws_ipset_https|nfqws_all|nfqws_all_https)
|
||||||
run_daemon 1 $NFQWS "$NFQWS_OPT_BASE $NFQWS_OPT"
|
run_daemon 1 $NFQWS "$NFQWS_OPT_BASE $NFQWS_OPT"
|
||||||
;;
|
;;
|
||||||
ipset)
|
|
||||||
create_ipset
|
|
||||||
;;
|
|
||||||
custom)
|
custom)
|
||||||
# PLACEHOLDER
|
# PLACEHOLDER
|
||||||
echo !!! NEED ATTENTION !!!
|
echo !!! NEED ATTENTION !!!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user