Fix startup issue getting stuck at Drive Mounted

This commit is contained in:
Taylor Helsper 2020-01-26 14:45:17 -06:00
parent f210d8f634
commit 99bd794e1c
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,7 @@
- Fix issue copying files after an upgrade
- Add button to reset Whirlpool config
- Enable LndHub upgrades
- Fix issue getting stuck at "Drive Mounted"
=== v0.1.83 ===
- Revert 0.1.82

View File

@ -129,9 +129,12 @@ do
done
# Gen RSA keys
sudo -u admin mkdir -p /home/admin/.ssh
chown -R admin:admin /home/admin/.ssh
if [ ! -f /home/admin/.ssh/id_rsa ]; then
sudo -u admin ssh-keygen -t rsa -f /home/admin/.ssh/id_rsa -N ""
fi
sudo -u admin touch /home/admin/.ssh/authorized_keys
if [ ! -f /root/.ssh/id_rsa_btcpay ]; then
ssh-keygen -t rsa -f /root/.ssh/id_rsa_btcpay -q -P "" -m PEM