comparison debian/dropbear.postinst @ 180:743fce568f49

Merge in Debian package changes from 0.45-3, grab the dbclient manpage
author Matt Johnston <matt@ucc.asn.au>
date Sun, 13 Mar 2005 16:22:36 +0000
parents b0316ce64e4b
children 654bc8327787
comparison
equal deleted inserted replaced
177:2098857ab826 180:743fce568f49
1 #!/bin/sh 1 #!/bin/sh
2 set -e 2 set -e
3 3
4 test "$1" = 'configure' || exit 0 4 test "$1" = 'configure' || exit 0
5 test -n "$2" || chown log /etc/dropbear/log/main || true
6 5
7 if test ! -e /etc/dropbear/dropbear_rsa_host_key; then 6 if test ! -e /etc/dropbear/dropbear_rsa_host_key; then
8 if test -f /etc/ssh/ssh_host_rsa_key; then 7 if test -f /etc/ssh/ssh_host_rsa_key; then
9 echo "Converting existing OpenSSH RSA host key to Dropbear format." 8 echo "Converting existing OpenSSH RSA host key to Dropbear format."
10 /usr/lib/dropbear/dropbearconvert openssh dropbear \ 9 /usr/lib/dropbear/dropbearconvert openssh dropbear \