mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 05:58:06 +00:00
Improve key copy
This commit is contained in:
parent
59d95738f8
commit
43c2d280d9
|
@ -79,8 +79,8 @@ if [ ! -f /home/bitcoin/.mynode/.gensshkeys ]; then
|
|||
fi
|
||||
|
||||
# Sync product key (SD preferred)
|
||||
cp -f /home/bitcoin/.mynode/.product_key* /mnt/hdd/mynode/settings/
|
||||
cp -f /mnt/hdd/mynode/settings/.product_key* home/bitcoin/.mynode/
|
||||
cp -f /home/bitcoin/.mynode/.product_key* /mnt/hdd/mynode/settings/ || true
|
||||
cp -f /mnt/hdd/mynode/settings/.product_key* home/bitcoin/.mynode/ || true
|
||||
|
||||
# Randomize RPC password
|
||||
if [ ! -f /mnt/hdd/mynode/settings/.btcrpcpw ]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user