From 0986b55a601066b1dc896c4508a55e905ea8d0ea Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Sat, 11 Nov 2000 08:36:38 +1100 Subject: - (djm) Added /etc/primes for kex DH group neg, fixup Makefile.in and packaging files --- contrib/solaris/postinstall.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'contrib/solaris/postinstall.in') diff --git a/contrib/solaris/postinstall.in b/contrib/solaris/postinstall.in index 58d773f87..834b5b204 100644 --- a/contrib/solaris/postinstall.in +++ b/contrib/solaris/postinstall.in @@ -46,6 +46,7 @@ if [ ! "${UPDATE}" = "1" ]; then instbackup ${CONFDIR} ssh_prng_cmds instbackup ${CONFDIR} ssh_config instbackup ${CONFDIR} sshd_config + instbackup ${CONFDIR} primes ### If no existing sshd_config and host key, then create if [ ! -f "${CONFDIR}/ssh_host_key" ]; then @@ -126,6 +127,10 @@ else instbackup ${CONFDIR} sshd_config NEWCONF=1 fi + if [ ! -r "${CONFDIR}/primes" ]; then + instbackup ${CONFDIR} primes + NEWCONF=1 + fi if [ $NEWCONF -eq 0 ]; then echo "Your existing SSH configuration files have not been altered." else -- cgit v1.2.3