Browse Source

bitcoin.conf after copyHDD

dev
rootzoll 6 years ago
parent
commit
df78fd97a0
  1. 6
      home.admin/50copyHDD.sh

6
home.admin/50copyHDD.sh

@ -15,7 +15,7 @@ if [ "${setupStep}" = "100" ]; then
echo "stopping servcies ..." echo "stopping servcies ..."
sudo systemctl stop lnd sudo systemctl stop lnd
sudo systemctl stop bitcoind sudo systemctl stop bitcoind
sudo systemctl disable bitcoind sudo systemctl disable bitcoind
fi fi
# delete all IN bitcoin directory but not itself if it exists # delete all IN bitcoin directory but not itself if it exists
@ -116,7 +116,9 @@ echo "*********************************************"
# if started after intial setup - quit here # if started after intial setup - quit here
if [ "${setupStep}" = "100" ]; then 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" "DONE - reboot is needed: sudo shutdown -r now"
exit 0 exit 0
fi fi

Loading…
Cancel
Save