From 599791dea0ff135d9fcf1f6f53fe006f29674285 Mon Sep 17 00:00:00 2001 From: bolvan <k@vodka.home.kg> Date: Tue, 14 May 2019 11:51:11 +0300 Subject: [PATCH] sysv helper functions : APPLY_FW=1 to override INIT_APPLY_FW --- docs/readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/readme.txt b/docs/readme.txt index 1842326..5cc0588 100644 --- a/docs/readme.txt +++ b/docs/readme.txt @@ -312,7 +312,7 @@ IFACE_WAN=eth1 В своем скрипте необходимо выставить переменную APPLY_FW=1, чтобы принудительно разрешить применение правил iptales вне зависимости от параметра INIT_APPLY_FW. Пример : -./opt/zapret/init.d/sysv/functions +. /opt/zapret/init.d/sysv/functions APPLY_FW=1 fw_tpws_add "--dport 80 -m set --match-set zapret dst" "--dport 80 -m set --match-set zapret6 dst" $TPPORT_HTTP