mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 20:20:53 +03:00
19 lines
358 B
Plaintext
19 lines
358 B
Plaintext
|
# this custom script applies tpws-socks mode as it would be with MODE=tpws-socks
|
||
|
|
||
|
OVERRIDE=tpws-socks
|
||
|
|
||
|
zapret_custom_daemons()
|
||
|
{
|
||
|
# $1 - 1 - run, 0 - stop
|
||
|
|
||
|
MODE_OVERRIDE=$OVERRIDE zapret_do_daemons $1
|
||
|
}
|
||
|
zapret_custom_firewall_v4()
|
||
|
{
|
||
|
MODE_OVERRIDE=$OVERRIDE pf_anchor_zapret_v4
|
||
|
}
|
||
|
zapret_custom_firewall_v6()
|
||
|
{
|
||
|
MODE_OVERRIDE=$OVERRIDE pf_anchor_zapret_v6
|
||
|
}
|