diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-07-22 08:56:45 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-07-22 08:56:48 +0200 |
commit | c8dad45c8afa4fd4a784ae6cdffb84a2e804084e (patch) | |
tree | c9438be39b31b60fee87214e92b073826ea7607c /scripts/init/vyos-router | |
parent | b86ab2eaf6c925e08d4424476429fda1aa6d4517 (diff) | |
download | vyatta-cfg-c8dad45c8afa4fd4a784ae6cdffb84a2e804084e.tar.gz vyatta-cfg-c8dad45c8afa4fd4a784ae6cdffb84a2e804084e.zip |
T31: reset iproute2 VRF table on startup
Diffstat (limited to 'scripts/init/vyos-router')
-rwxr-xr-x | scripts/init/vyos-router | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/init/vyos-router b/scripts/init/vyos-router index 8345890..2785132 100755 --- a/scripts/init/vyos-router +++ b/scripts/init/vyos-router @@ -221,9 +221,13 @@ security_reset () # PPPoE rm -f /etc/ppp/peers/pppoe* /etc/ppp/peers/wlm* + # IPSec rm -rf /etc/ipsec.conf /etc/ipsec.secrets find /etc/swanctl -type f | xargs rm -f + + # VRF + rm -f /etc/iproute2/rt_tables.d/vyos-vrf.conf } # XXX: T3885 - generate persistend DHCPv6 DUID (Type4 - UUID based) |