mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-28 11:36:32 +00:00
use copy instead move
This commit is contained in:
parent
036f375f06
commit
423124ff34
@ -6,6 +6,6 @@ BOOT_SSH_KEY=/mnt/boot/authorized_keys
|
|||||||
HOME_SSH_KEY=/home/root/.ssh/authorized_keys
|
HOME_SSH_KEY=/home/root/.ssh/authorized_keys
|
||||||
|
|
||||||
if [ -f $BOOT_SSH_KEY ]; then
|
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
|
chmod 0600 $HOME_SSH_KEY
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user