Update hassio-config

This commit is contained in:
Pascal Vizeli 2018-04-11 16:12:26 +02:00 committed by GitHub
parent 9f2ccc546c
commit 7a6c15c248
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,12 @@ mount -o ro LABEL="hassio-config" /mnt/config
##
# SSH know hosts
if [ -f /mnt/config/known_hosts ]; then
echo "[Info] Update SSH known_hosts!"
cp -f /mnt/config/known_hosts /root/.ssh/known_hosts
chmod 600 /root/.ssh/known_hosts
fi
##
# Firmware update