Don't remove the host key on pkg_delete. It is irreplaceable.
This commit is contained in:
parent
25e4db03b7
commit
c7621bb9af
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6668
2 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue