diff --git a/home.admin/50copyHDD.sh b/home.admin/50copyHDD.sh index 5fa7028..ca847d6 100755 --- a/home.admin/50copyHDD.sh +++ b/home.admin/50copyHDD.sh @@ -15,7 +15,7 @@ if [ "${setupStep}" = "100" ]; then echo "stopping servcies ..." sudo systemctl stop lnd sudo systemctl stop bitcoind - sudo systemctl disable bitcoind + sudo systemctl disable bitcoind fi # delete all IN bitcoin directory but not itself if it exists @@ -116,7 +116,9 @@ echo "*********************************************" # if started after intial setup - quit here if [ "${setupStep}" = "100" ]; then - sudo systemctl enable bitcoind + sudo cp /home/admin/assets/bitcoin.conf /mnt/hdd/bitcoin/bitcoin.conf + sudo chown bitcoin:bitcoin /mnt/hdd/bitcoin/bitcoin.conf + sudo systemctl enable bitcoind "DONE - reboot is needed: sudo shutdown -r now" exit 0 fi