DoorPi/root_overlay/etc/init.d/S40dropbearkey.sh
2021-03-16 18:54:13 +01:00

3 lines
185 B
Bash

#!/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