Template
1
0
mirror of https://github.com/bol-van/zapret2.git synced 2026-03-13 22:03:09 +00:00

init.d: 40-webserver replace spaces with tabs

This commit is contained in:
bol-van
2025-12-02 11:11:24 +03:00
parent b56be286c9
commit a795b0f10c

View File

@@ -22,7 +22,7 @@ zapret_custom_daemons()
}
zapret_custom_firewall()
{
# $1 - 1 - run, 0 - stop
# $1 - 1 - run, 0 - stop
local PORTS=$(replace_char - : $WEBSERVER_PORTS)
local first_packets=$(ipt_first_packets $WEBSERVER_PKT_OUT)
@@ -31,7 +31,7 @@ zapret_custom_firewall()
}
zapret_custom_firewall_nft()
{
# stop logic is not required
# stop logic is not required
local first_packets=$(nft_first_packets $WEBSERVER_PKT_OUT)
local f="tcp sport {$WEBSERVER_PORTS} $first_packets"