summaryrefslogtreecommitdiff
path: root/scripts/init/vyos-router
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/init/vyos-router')
-rwxr-xr-xscripts/init/vyos-router3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/init/vyos-router b/scripts/init/vyos-router
index c614a4e..47896d1 100755
--- a/scripts/init/vyos-router
+++ b/scripts/init/vyos-router
@@ -226,6 +226,9 @@ security_reset ()
rm -rf /etc/ipsec.conf /etc/ipsec.secrets
find /etc/swanctl -type f | xargs rm -f
+ # limit cleanup
+ rm -f /etc/security/limits.d/10-vyos.conf
+
# iproute2 cleanup
rm -f /etc/iproute2/rt_tables.d/vyos-*.conf