summaryrefslogtreecommitdiff
path: root/scripts/init/vyos-router
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2023-01-08 09:06:03 +0100
committerChristian Poessinger <christian@poessinger.com>2023-01-08 09:06:03 +0100
commit4448d944c3cb6a47692119c8f1e8442e82316183 (patch)
tree59d264525ff7c3d98669cce0507595c9bf6bece4 /scripts/init/vyos-router
parentec568ce7b432acda01f9639afb509287a0e3d760 (diff)
downloadvyatta-cfg-4448d944c3cb6a47692119c8f1e8442e82316183.tar.gz
vyatta-cfg-4448d944c3cb6a47692119c8f1e8442e82316183.zip
T4922: T2651: clean ssh-client and cURL configs on boot
Diffstat (limited to 'scripts/init/vyos-router')
-rwxr-xr-xscripts/init/vyos-router4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/init/vyos-router b/scripts/init/vyos-router
index 86c7bc8..8fdcc12 100755
--- a/scripts/init/vyos-router
+++ b/scripts/init/vyos-router
@@ -231,6 +231,10 @@ security_reset ()
# Container
rm -f /etc/containers/storage.conf /etc/containers/registries.conf
+
+ # System Options (SSH/cURL)
+ rm -f /etc/ssh/ssh_config.d/*vyos*.conf
+ rm -f /etc/curlrc
}
# XXX: T3885 - generate persistend DHCPv6 DUID (Type4 - UUID based)