From c7621bb9afb63c63a5b9f5520ce8dcfda3cf9aae Mon Sep 17 00:00:00 2001 From: John Polstra Date: Mon, 2 Jun 1997 04:28:48 +0000 Subject: Don't remove the host key on pkg_delete. It is irreplaceable. --- security/ssh/pkg-plist | 1 - security/ssh2/pkg-plist | 1 - 2 files changed, 2 deletions(-) diff --git a/security/ssh/pkg-plist b/security/ssh/pkg-plist index 29cc5a46d340..c632301bd8c8 100644 --- a/security/ssh/pkg-plist +++ b/security/ssh/pkg-plist @@ -21,4 +21,3 @@ man/man1/ssh.1.gz man/man8/sshd.8.gz sbin/sshd @exec if [ ! -f %D/etc/ssh_host_key ]; then echo "Generating a secret host key.." ; %D/bin/ssh-keygen -N "" -f %D/etc/ssh_host_key; fi -@unexec rm -f %D/etc/ssh_host_key diff --git a/security/ssh2/pkg-plist b/security/ssh2/pkg-plist index 29cc5a46d340..c632301bd8c8 100644 --- a/security/ssh2/pkg-plist +++ b/security/ssh2/pkg-plist @@ -21,4 +21,3 @@ man/man1/ssh.1.gz man/man8/sshd.8.gz sbin/sshd @exec if [ ! -f %D/etc/ssh_host_key ]; then echo "Generating a secret host key.." ; %D/bin/ssh-keygen -N "" -f %D/etc/ssh_host_key; fi -@unexec rm -f %D/etc/ssh_host_key -- cgit v1.2.3