Rule should be split.

remotes/origin/4.10
Darko Poljak 6 years ago
parent 7a9dea9754
commit faed292a4e
  1. 4
      cdist/conf/type/__iptables_apply/files/init-script

@ -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…
Cancel
Save