mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 21:29:29 +02:00
bitcoin.conf after copyHDD
This commit is contained in:
parent
70635f5b31
commit
df78fd97a0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user