aboutsummaryrefslogtreecommitdiffstats
path: root/main/dropbear/dropbear.initd
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2015-09-07 12:35:02 +0000
committerEivind Uggedal <eivind@uggedal.com>2015-09-07 12:36:58 +0000
commitf0debb088931086cc64fc510acbd736bdd3ba042 (patch)
treeda509f6e94aa5e23bda656d44b4187e6de2d9b0f /main/dropbear/dropbear.initd
parentf8f93ad97ae18ec74f543c0f9398e5795d85c0c8 (diff)
downloadaports-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.initd4
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() {