cdist/cdist/conf/type/__iptables_apply/gencode-remote

6 lines
112 B
Bash
Executable File

#!/bin/sh
if grep -q "^__file/etc/iptables.d/" "$__messages_in"; then
echo /etc/init.d/iptables restart
fi