void-packages/srcpkgs/iptables/files/ip6tables/run

5 lines
152 B
Bash

#!/bin/sh
[ ! -e /etc/iptables/ip6tables.rules ] && exit 0
ip6tables-restore -w 3 /etc/iptables/ip6tables.rules || exit 1
exec chpst -b ip6tables pause