wok diff dropbear/stuff/init.d/dropbear @ rev 20257
Add giflossy
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 13 23:27:32 2018 +0100 (2018-03-13) |
parents | 367fbda7855b |
children | 9096d6788292 |
line diff
1.1 --- a/dropbear/stuff/init.d/dropbear Mon Oct 09 21:35:33 2017 +0200 1.2 +++ b/dropbear/stuff/init.d/dropbear Tue Mar 13 23:27:32 2018 +0100 1.3 @@ -18,7 +18,7 @@ 1.4 start) 1.5 # We need rsa and dss host key file to start dropbear. 1.6 for type in rsa dss ecdsa ; do 1.7 - [ -f /etc/dropbear/dropbear_${type}_host_key ] && continue 1.8 + [ -s /etc/dropbear/dropbear_${type}_host_key ] && continue 1.9 action 'Generating Dropbear %s key... ' $type 1.10 # Need to delete key before creating it. 1.11 rm -f /etc/dropbear/dropbear_${type}_host_key