summaryrefslogtreecommitdiff
path: root/contrib/solaris/postinstall.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/solaris/postinstall.in')
-rw-r--r--contrib/solaris/postinstall.in5
1 files changed, 5 insertions, 0 deletions
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
46 instbackup ${CONFDIR} ssh_prng_cmds 46 instbackup ${CONFDIR} ssh_prng_cmds
47 instbackup ${CONFDIR} ssh_config 47 instbackup ${CONFDIR} ssh_config
48 instbackup ${CONFDIR} sshd_config 48 instbackup ${CONFDIR} sshd_config
49 instbackup ${CONFDIR} primes
49 50
50 ### If no existing sshd_config and host key, then create 51 ### If no existing sshd_config and host key, then create
51 if [ ! -f "${CONFDIR}/ssh_host_key" ]; then 52 if [ ! -f "${CONFDIR}/ssh_host_key" ]; then
@@ -126,6 +127,10 @@ else
126 instbackup ${CONFDIR} sshd_config 127 instbackup ${CONFDIR} sshd_config
127 NEWCONF=1 128 NEWCONF=1
128 fi 129 fi
130 if [ ! -r "${CONFDIR}/primes" ]; then
131 instbackup ${CONFDIR} primes
132 NEWCONF=1
133 fi
129 if [ $NEWCONF -eq 0 ]; then 134 if [ $NEWCONF -eq 0 ]; then
130 echo "Your existing SSH configuration files have not been altered." 135 echo "Your existing SSH configuration files have not been altered."
131 else 136 else