mirror of
https://github.com/bol-van/zapret.git
synced 2025-08-12 13:15:05 +03:00
shellcheck
linting and formatting shell scripts
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
# use helpers from "functions" file and "zapret" init script
|
||||
# in case of upgrade keep this file only, do not modify others
|
||||
|
||||
zapret_custom_daemons()
|
||||
{
|
||||
zapret_custom_daemons() {
|
||||
# stop logic is managed by procd
|
||||
|
||||
# PLACEHOLDER
|
||||
@@ -13,8 +12,7 @@ zapret_custom_daemons()
|
||||
|
||||
run_daemon 1 /bin/sleep 20
|
||||
}
|
||||
zapret_custom_firewall()
|
||||
{
|
||||
zapret_custom_firewall() {
|
||||
# $1 - 1 - run, 0 - stop
|
||||
|
||||
# PLACEHOLDER
|
||||
@@ -22,8 +20,7 @@ zapret_custom_firewall()
|
||||
echo Configure iptables for required actions
|
||||
echo Study how other sections work
|
||||
}
|
||||
zapret_custom_firewall_nft()
|
||||
{
|
||||
zapret_custom_firewall_nft() {
|
||||
# stop logic is not required
|
||||
|
||||
# PLACEHOLDER
|
||||
|
Reference in New Issue
Block a user