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/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
|
||||
|
|
Loading…
Add table
Reference in a new issue