forked from ungleich-public/cdist
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
|
if [ "$count" -ge 1 ]; then
|
||||||
for rule in *; do
|
for rule in *; do
|
||||||
echo "Applying iptables rule $rule ..."
|
echo "Applying iptables rule $rule ..."
|
||||||
iptables "$(cat "$rule")"
|
# Rule should be split.
|
||||||
|
# shellcheck disable=SC2046
|
||||||
|
iptables $(cat "$rule")
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue