Fix startup issue getting stuck at Drive Mounted
This commit is contained in:
parent
f210d8f634
commit
99bd794e1c
|
@ -2,6 +2,7 @@
|
||||||
- Fix issue copying files after an upgrade
|
- Fix issue copying files after an upgrade
|
||||||
- Add button to reset Whirlpool config
|
- Add button to reset Whirlpool config
|
||||||
- Enable LndHub upgrades
|
- Enable LndHub upgrades
|
||||||
|
- Fix issue getting stuck at "Drive Mounted"
|
||||||
|
|
||||||
=== v0.1.83 ===
|
=== v0.1.83 ===
|
||||||
- Revert 0.1.82
|
- Revert 0.1.82
|
||||||
|
|
|
@ -129,9 +129,12 @@ do
|
||||||
done
|
done
|
||||||
|
|
||||||
# Gen RSA keys
|
# 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
|
if [ ! -f /home/admin/.ssh/id_rsa ]; then
|
||||||
sudo -u admin ssh-keygen -t rsa -f /home/admin/.ssh/id_rsa -N ""
|
sudo -u admin ssh-keygen -t rsa -f /home/admin/.ssh/id_rsa -N ""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sudo -u admin touch /home/admin/.ssh/authorized_keys
|
sudo -u admin touch /home/admin/.ssh/authorized_keys
|
||||||
if [ ! -f /root/.ssh/id_rsa_btcpay ]; then
|
if [ ! -f /root/.ssh/id_rsa_btcpay ]; then
|
||||||
ssh-keygen -t rsa -f /root/.ssh/id_rsa_btcpay -q -P "" -m PEM
|
ssh-keygen -t rsa -f /root/.ssh/id_rsa_btcpay -q -P "" -m PEM
|
||||||
|
|
Loading…
Reference in New Issue
Block a user