diff options
Diffstat (limited to 'contrib/solaris/postinstall.in')
-rw-r--r-- | contrib/solaris/postinstall.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/solaris/postinstall.in b/contrib/solaris/postinstall.in index 58d773f8..834b5b20 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 |