From 423124ff341e4f51cec324db3a359344dab5f838 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Thu, 23 Mar 2017 23:44:14 +0100 Subject: [PATCH] use copy instead move --- meta-hassio/recipes-core/dropbear/files/sync-authorized-keys | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-hassio/recipes-core/dropbear/files/sync-authorized-keys b/meta-hassio/recipes-core/dropbear/files/sync-authorized-keys index 8905bf7e6..d13d25e1e 100644 --- a/meta-hassio/recipes-core/dropbear/files/sync-authorized-keys +++ b/meta-hassio/recipes-core/dropbear/files/sync-authorized-keys @@ -6,6 +6,6 @@ BOOT_SSH_KEY=/mnt/boot/authorized_keys HOME_SSH_KEY=/home/root/.ssh/authorized_keys if [ -f $BOOT_SSH_KEY ]; then - mv $BOOT_SSH_KEY $HOME_SSH_KEY + cp $BOOT_SSH_KEY $HOME_SSH_KEY chmod 0600 $HOME_SSH_KEY fi