diff options
author | Eivind Uggedal <eivind@uggedal.com> | 2015-09-07 12:35:02 +0000 |
---|---|---|
committer | Eivind Uggedal <eivind@uggedal.com> | 2015-09-07 12:36:58 +0000 |
commit | f0debb088931086cc64fc510acbd736bdd3ba042 (patch) | |
tree | da509f6e94aa5e23bda656d44b4187e6de2d9b0f /main/dropbear/dropbear.initd | |
parent | f8f93ad97ae18ec74f543c0f9398e5795d85c0c8 (diff) | |
download | aports-f0debb088931086cc64fc510acbd736bdd3ba042.tar.bz2 aports-f0debb088931086cc64fc510acbd736bdd3ba042.tar.xz |
main/dropbear: upgrade to 2015.68
Also generate ECDSA-Hostkey on startup.
Diffstat (limited to 'main/dropbear/dropbear.initd')
-rw-r--r-- | main/dropbear/dropbear.initd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/dropbear/dropbear.initd b/main/dropbear/dropbear.initd index 1489532317..633cede4d3 100644 --- a/main/dropbear/dropbear.initd +++ b/main/dropbear/dropbear.initd @@ -21,6 +21,10 @@ check_config() { einfo "Generating RSA-Hostkey..." /usr/bin/dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key fi + if [ ! -e /etc/dropbear/dropbear_ecdsa_host_key ] ; then + einfo "Generating ECDSA-Hostkey..." + /usr/bin/dropbearkey -t ecdsa -f /etc/dropbear/dropbear_ecdsa_host_key + fi } start() { |