ifstated: Add sleep before reseting firewall rules
This commit is contained in:
parent
51aae59890
commit
594b45a83c
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ state master {
|
||||||
run "/sbin/dhclient vio1"
|
run "/sbin/dhclient vio1"
|
||||||
#run "/sbin/rcctl restart dhcpcd > /dev/null"
|
#run "/sbin/rcctl restart dhcpcd > /dev/null"
|
||||||
# reset firewall rules
|
# reset firewall rules
|
||||||
run "pfctl -f /etc/pf.conf"
|
run "sleep 5 ; pfctl -f /etc/pf.conf"
|
||||||
}
|
}
|
||||||
if $if_carp_down {
|
if $if_carp_down {
|
||||||
set-state backup
|
set-state backup
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue