Browse Source

custom-desync-keepalive: hostlist line

pull/53/head
bol-van 5 years ago
parent
commit
ac22c09d48
  1. 4
      init.d/openwrt/custom-desync-keepalive
  2. 4
      init.d/sysv/custom-desync-keepalive

4
init.d/openwrt/custom-desync-keepalive

@ -6,12 +6,14 @@
# check config :
# MODE=custom
# NFQWS_OPT_DESYNC=your choice of nfqws desync options
# GETLIST=your choise of script in ipset/get_*.sh, or comment if list downloading is not needed
# GETLIST=your choice of script in ipset/get_*.sh, or comment if list downloading is not needed
# if hostlist is needed then uncomment run_daemon with --hostlist and comment run_daemon without --hoslist
# restart zapret
zapret_custom_daemons()
{
run_daemon 1 $NFQWS "$NFQWS_OPT_BASE $NFQWS_OPT_DESYNC"
#run_daemon 1 $NFQWS "$NFQWS_OPT_BASE $NFQWS_OPT_DESYNC --hostlist=$HOSTLIST"
}
zapret_custom_firewall()
{

4
init.d/sysv/custom-desync-keepalive

@ -6,12 +6,14 @@
# check config :
# MODE=custom
# NFQWS_OPT_DESYNC=your choice of nfqws desync options
# GETLIST=your choise of script in ipset/get_*.sh, or comment if list downloading is not needed
# GETLIST=your choice of script in ipset/get_*.sh, or comment if list downloading is not needed
# if hostlist is needed then uncomment run_daemon with --hostlist and comment run_daemon without --hoslist
# restart zapret
zapret_custom_daemons()
{
do_nfqws $1 1 "$NFQWS_OPT_DESYNC"
#do_nfqws $1 1 "$NFQWS_OPT_DESYNC --hostlist=$HOSTLIST"
}
zapret_custom_firewall()
{

Loading…
Cancel
Save