summaryrefslogtreecommitdiff
path: root/network/dropbear/rc.dropbear.new
diff options
context:
space:
mode:
Diffstat (limited to 'network/dropbear/rc.dropbear.new')
-rw-r--r--network/dropbear/rc.dropbear.new3
1 files changed, 3 insertions, 0 deletions
diff --git a/network/dropbear/rc.dropbear.new b/network/dropbear/rc.dropbear.new
index 3135486afe..c6d5cbe286 100644
--- a/network/dropbear/rc.dropbear.new
+++ b/network/dropbear/rc.dropbear.new
@@ -9,6 +9,9 @@ dropbear_start() {
if [ ! -f /etc/dropbear/dropbear_dss_host_key ]; then
/usr/bin/dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key
fi
+ if [ ! -f /etc/dropbear/dropbear_ecdsa_host_key ]; then
+ /usr/bin/dropbearkey -t ecdsa -f /etc/dropbear/dropbear_ecdsa_host_key
+ fi
/usr/sbin/dropbear 2>> /var/log/dropbear.log
}