DoorPi/root_overlay/etc/init.d/S40dropbearkey.sh

3 lines
185 B
Bash
Raw Permalink Normal View History

2021-03-16 17:54:13 +00:00
#!/bin/sh
[[ ! -f /etc/dropbear/dropbear_ecdsa_host_key && -f /etc/dropbear/host_key ]] && dropbearconvert openssh dropbear /etc/dropbear/host_key /etc/dropbear/dropbear_ecdsa_host_key