archboot/usr/lib/initcpio/install/arch_iptables

23 lines
879 B
Text
Raw Normal View History

2007-02-22 23:46:50 +01:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
2007-02-22 23:46:50 +01:00
{
MODULES="$(checked_modules "/net/ipv6") $(checked_modules "/net/ipv4") $(checked_modules "/net/netfilter") $(checked_modules "/net/bridge/")"
2011-07-25 21:53:01 +02:00
BINARIES="/usr/sbin/ip6tables /usr/sbin/ip6tables-restore /usr/sbin/ip6tables-save /usr/sbin/iptables /usr/sbin/iptables-restore /usr/sbin/iptables-save /usr/bin/iptables-xml"
2007-02-22 23:46:50 +01:00
FILES=""
SCRIPT=""
add_file "/etc/rc.d/iptables"
add_file "/etc/rc.d/ip6tables"
2008-12-06 19:12:19 +01:00
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"
2007-02-22 23:46:50 +01:00
}
help ()
{
cat<<HELPEOF
This hook includes iptables on an arch boot image.
HELPEOF
}