change bootstrap file location
This commit is contained in:
parent
8604d58935
commit
d1fd179eb0
|
@ -18,8 +18,8 @@ ARGS+=" -conf=$HOME/bitcoin.conf"
|
|||
ARGS+=" -rpcallowip=::/0"
|
||||
|
||||
if [[ ! -d $HOME/blocks ]]; then
|
||||
if [[ -e $HOME/bootstrap.dat ]]; then
|
||||
ARGS+=" -loadblock=$HOME/bootstrap.dat"
|
||||
if [[ -e /var/lib/bootstrap.dat ]]; then
|
||||
ARGS+=" -loadblock=/var/lib/bootstrap.dat"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue