diff options
author | Damien Miller <djm@mindrot.org> | 2000-11-11 08:36:38 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-11-11 08:36:38 +1100 |
commit | 0986b55a601066b1dc896c4508a55e905ea8d0ea (patch) | |
tree | d26d7627bdf3d667bbe92772be8d70925770c763 /contrib/solaris/postinstall.in | |
parent | dcca981e88978f84e404ef718e0e997b518403f0 (diff) |
- (djm) Added /etc/primes for kex DH group neg, fixup Makefile.in and
packaging files
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 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 |