fix bitcoin user chown hdd content

This commit is contained in:
rootzoll 2018-07-18 02:23:33 +02:00
parent 43a0db699b
commit d54dab67b4
2 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,7 @@ if [ ${mountOK} -eq 1 ]; then
if [ -d "/mnt/hdd/bitcoin" ]; then
echo "UNKOWN STATE"
echo "It seems that something went wrong during sync/download/copy of the blockchain."
echo "This needs manual work (get in contact with RaspiBlitz dev team)"
echo "Maybe try --> ./60finishHDD.sh"
exit 1
fi

View File

@ -15,6 +15,7 @@ if [ ${mountOK} -eq 1 ]; then
sudo ln -s /mnt/hdd/bitcoin /home/bitcoin/.bitcoin
sudo mkdir /mnt/hdd/lnd
sudo chown -R bitcoin:bitcoin /mnt/hdd/lnd
sudo chown -R bitcoin:bitcoin /mnt/hdd/bitcoin
sudo ln -s /mnt/hdd/lnd /home/bitcoin/.lnd
sudo chown -R bitcoin:bitcoin /home/bitcoin/.bitcoin
sudo chown -R bitcoin:bitcoin /home/bitcoin/.lnd