3 # Copyright 2013-2016 by Jan Vales <jan@jvales.net> (Someone <someone@somenet.org>)
4 # send me your changes. credit author(s). do not publish. share alike.
5 # to be done: find a suitable licence text.
7 # Script to reload CURRENT xtable rules from gitrepo.
8 # Most likely no longer really useful as of 2016.
12 chmod -R u=rw,go-rwx .
15 if [[ ! -d "xtable_rules/.git" ]]; then
16 echo "*** ERROR: cannot cd xtable_current_rules or git repo not found."
22 /sbin/iptables-restore < iptable.rules.current.save