From 707fe801eac4a878f433bec4cc147547ef035fb1 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 26 Jun 2021 23:00:25 +0200 Subject: Debian: drop ipsec key removal from postinst script - done on every system boot --- debian/vyos-1x.postinst | 7 ------- 1 file changed, 7 deletions(-) (limited to 'debian') diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst index 709313db1..f191feb3a 100644 --- a/debian/vyos-1x.postinst +++ b/debian/vyos-1x.postinst @@ -85,10 +85,3 @@ if [ ! -x /opt/vyatta/etc/config/scripts/vyos-postconfig-bootup.script ]; then EOF fi -# remove keys -rm -f /etc/ipsec.secrets -touch /etc/ipsec.secrets -chown root:root /etc/ipsec.secrets -chmod 600 /etc/ipsec.secrets -rm -f /etc/ipsec.d/private/localhost.localdomainKey.pem -rm -f /etc/ipsec.d/certs/localhost.localdomainCert.pem \ No newline at end of file -- cgit v1.2.3