summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/init/vyos-router3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/init/vyos-router b/scripts/init/vyos-router
index 9225c1f..7150a5e 100755
--- a/scripts/init/vyos-router
+++ b/scripts/init/vyos-router
@@ -222,7 +222,8 @@ security_reset ()
# PPPoE
rm -f /etc/ppp/peers/pppoe* /etc/ppp/peers/wlm*
# IPSec
- rm -rf /etc/ipsec.conf /etc/ipsec.secrets /etc/swanctl
+ rm -rf /etc/ipsec.conf /etc/ipsec.secrets
+ find /etc/swanctl -type f | xargs rm -f
}
start ()