vp-build/srcpkgs/iptables/files/ip6tables/run

5 lines
137 B
Bash

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