summaryrefslogtreecommitdiff
path: root/debian/vyos-1x.postinst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-26 23:00:25 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-26 23:00:25 +0200
commit707fe801eac4a878f433bec4cc147547ef035fb1 (patch)
tree8f33143c4af90f7e627f1f535a6f092e59a469dc /debian/vyos-1x.postinst
parentc121218b48833ec7ff3f7f29e1bd8b30b34c90eb (diff)
downloadvyos-1x-707fe801eac4a878f433bec4cc147547ef035fb1.tar.gz
vyos-1x-707fe801eac4a878f433bec4cc147547ef035fb1.zip
Debian: drop ipsec key removal from postinst script - done on every system boot
Diffstat (limited to 'debian/vyos-1x.postinst')
-rw-r--r--debian/vyos-1x.postinst7
1 files changed, 0 insertions, 7 deletions
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