Rule should be split.
This commit is contained in:
parent
7a9dea9754
commit
faed292a4e
1 changed files with 3 additions and 1 deletions
|
@ -31,7 +31,9 @@ case $1 in
|
|||
if [ "$count" -ge 1 ]; then
|
||||
for rule in *; do
|
||||
echo "Applying iptables rule $rule ..."
|
||||
iptables "$(cat "$rule")"
|
||||
# Rule should be split.
|
||||
# shellcheck disable=SC2046
|
||||
iptables $(cat "$rule")
|
||||
done
|
||||
fi
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue