void-packages/srcpkgs/runit-iptables/files/91-iptables.sh
2018-08-17 11:19:08 +02:00

7 lines
196 B
Bash

if [ -e /etc/iptables/iptables.rules ]; then
iptables-restore /etc/iptables/iptables.rules
fi
if [ -e /etc/iptables/ip6tables.rules ]; then
ip6tables-restore /etc/iptables/ip6tables.rules
fi