summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@poessinger.com>2023-01-08 20:02:39 +0100
committerGitHub <noreply@github.com>2023-01-08 20:02:39 +0100
commit5ab83d5548b925aac4d0fbbd1e8fb5692f34a5cc (patch)
treecfb256179944e6a3b3350a4133cdbc986369e372
parent32a61c061b85cccb6d09a60952c04a1dff8359d4 (diff)
parent104f970e90acf2953d85a690f3bd26c98cd8b46c (diff)
downloadvyatta-cfg-5ab83d5548b925aac4d0fbbd1e8fb5692f34a5cc.tar.gz
vyatta-cfg-5ab83d5548b925aac4d0fbbd1e8fb5692f34a5cc.zip
Merge pull request #55 from c-po/equuleus
T4922: T2651: clean ssh-client and cURL configs on boot
-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)