summaryrefslogtreecommitdiff
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:45 +0100
commit104f970e90acf2953d85a690f3bd26c98cd8b46c (patch)
treecfb256179944e6a3b3350a4133cdbc986369e372
parent2febfbf3ea9f62e820d62043c4951e365c489676 (diff)
downloadvyatta-cfg-104f970e90acf2953d85a690f3bd26c98cd8b46c.tar.gz
vyatta-cfg-104f970e90acf2953d85a690f3bd26c98cd8b46c.zip
T4922: T2651: clean ssh-client and cURL configs on boot
(cherry picked from commit 4448d944c3cb6a47692119c8f1e8442e82316183)
-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 ee46a9a..4c96d41 100755
--- a/scripts/init/vyos-router
+++ b/scripts/init/vyos-router
@@ -180,6 +180,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)