From ac22c09d48d0d95f3a8e4440bc0ce7d82336155b Mon Sep 17 00:00:00 2001 From: bol-van Date: Sun, 2 Feb 2020 16:36:05 +0300 Subject: [PATCH] custom-desync-keepalive: hostlist line --- init.d/openwrt/custom-desync-keepalive | 4 +++- init.d/sysv/custom-desync-keepalive | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/init.d/openwrt/custom-desync-keepalive b/init.d/openwrt/custom-desync-keepalive index 1cb61f0..d16d779 100644 --- a/init.d/openwrt/custom-desync-keepalive +++ b/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() { diff --git a/init.d/sysv/custom-desync-keepalive b/init.d/sysv/custom-desync-keepalive index 02e3a92..21d7a8f 100644 --- a/init.d/sysv/custom-desync-keepalive +++ b/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() {