|
|
@ -6,17 +6,20 @@ zapret_custom_daemons() |
|
|
|
{ |
|
|
|
# stop logic is managed by procd |
|
|
|
|
|
|
|
MODE_OVERRIDE=$OVERRIDE start_daemons_procd |
|
|
|
local MODE_OVERRIDE=$OVERRIDE |
|
|
|
start_daemons_procd |
|
|
|
} |
|
|
|
zapret_custom_firewall() |
|
|
|
{ |
|
|
|
# $1 - 1 - run, 0 - stop |
|
|
|
|
|
|
|
MODE_OVERRIDE=$OVERRIDE zapret_do_firewall_rules_ipt $1 |
|
|
|
local MODE_OVERRIDE=$OVERRIDE |
|
|
|
zapret_do_firewall_rules_ipt $1 |
|
|
|
} |
|
|
|
zapret_custom_firewall_nft() |
|
|
|
{ |
|
|
|
# stop logic is not required |
|
|
|
|
|
|
|
MODE_OVERRIDE=$OVERRIDE zapret_apply_firewall_rules_nft |
|
|
|
local MODE_OVERRIDE=$OVERRIDE |
|
|
|
zapret_apply_firewall_rules_nft |
|
|
|
} |
|
|
|