ifstated: Add sleep before reseting firewall rules

This commit is contained in:
Timo Makinen 2023-01-21 20:47:21 +00:00
parent 51aae59890
commit 594b45a83c

View file

@ -22,7 +22,7 @@ state master {
run "/sbin/dhclient vio1"
#run "/sbin/rcctl restart dhcpcd > /dev/null"
# reset firewall rules
run "pfctl -f /etc/pf.conf"
run "sleep 5 ; pfctl -f /etc/pf.conf"
}
if $if_carp_down {
set-state backup