init sysv : remove create_ipset from run_daemons

This commit is contained in:
bolvan 2019-05-15 23:25:21 +03:00
parent e386804610
commit 8d182f0692

View File

@ -341,7 +341,7 @@ zapret_do_firewall()
fw_nfqws_post $1 "--dport 80" "--dport 80"
;;
ipset)
[ "$1" = "1" ] && create_ipset
[ "$1" != "1" ] || create_ipset
;;
custom)
# PLACEHOLDER
@ -379,9 +379,6 @@ zapret_run_daemons()
nfqws_ipset|nfqws_ipset_https|nfqws_all|nfqws_all_https)
run_daemon 1 $NFQWS "$NFQWS_OPT_BASE $NFQWS_OPT"
;;
ipset)
create_ipset
;;
custom)
# PLACEHOLDER
echo !!! NEED ATTENTION !!!