mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-23 23:04:23 +00:00
blockcheck: move comments
This commit is contained in:
parent
006fd8d760
commit
f7274a57dc
@ -784,6 +784,7 @@ check_dns()
|
|||||||
|
|
||||||
unprepare_all()
|
unprepare_all()
|
||||||
{
|
{
|
||||||
|
# make sure we are not in a middle state that impacts connectivity
|
||||||
[ -n "$IPV" ] && {
|
[ -n "$IPV" ] && {
|
||||||
tpws_ipt_unprepare 80
|
tpws_ipt_unprepare 80
|
||||||
tpws_ipt_unprepare 443
|
tpws_ipt_unprepare 443
|
||||||
@ -795,7 +796,6 @@ unprepare_all()
|
|||||||
|
|
||||||
sigint()
|
sigint()
|
||||||
{
|
{
|
||||||
# make sure we are not in a middle state that impacts connectivity
|
|
||||||
echo
|
echo
|
||||||
echo terminating...
|
echo terminating...
|
||||||
unprepare_all
|
unprepare_all
|
||||||
@ -803,7 +803,6 @@ sigint()
|
|||||||
}
|
}
|
||||||
sigpipe()
|
sigpipe()
|
||||||
{
|
{
|
||||||
# make sure we are not in a middle state that impacts connectivity
|
|
||||||
# must not write anything here to stdout
|
# must not write anything here to stdout
|
||||||
unprepare_all
|
unprepare_all
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user