# Created by Tobias Powalowski <tpowa@archlinux.org>

install ()
{
    MODULES="$(checked_modules "/net/ipv6") $(checked_modules "/net/ipv4") $(checked_modules "/net/netfilter") $(checked_modules "/net/bridge/")"
    BINARIES="ip6tables ip6tables-restore ip6tables-save iptables iptables-restore iptables-save iptables-xml"
    FILES=""
    SCRIPT=""
    add_file "/etc/rc.d/iptables"
    add_file "/etc/rc.d/ip6tables"
    add_file "/usr/share/archboot/iptables/etc/conf.d/iptables" "/etc/conf.d/iptables"
    add_file "/usr/share/archboot/iptables/etc/iptables/empty.rules" "/etc/iptables/empty.rules"
    add_file "/usr/share/archboot/iptables/etc/iptables/simple_firewall.rules" "/etc/iptables/simple_firewall.rules"

}

help ()
{
cat<<HELPEOF
  This hook includes iptables on an arch boot image.
HELPEOF
} 
