add ifstated role and enable it on proxy group

This commit is contained in:
Timo Makinen 2019-05-28 02:09:35 +03:00
parent 397a686495
commit 0a8c59335a
5 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,6 @@
# flush routes when external carp goes up
if carp153.link.up
run 'route -q flush ; route add default $(cat /etc/mygate)'
if carp154.link.up
run 'route -q flush ; route add default $(cat /etc/mygate)'