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"
|
ARGS+=" -rpcallowip=::/0"
|
||||||
|
|
||||||
if [[ ! -d $HOME/blocks ]]; then
|
if [[ ! -d $HOME/blocks ]]; then
|
||||||
if [[ -e $HOME/bootstrap.dat ]]; then
|
if [[ -e /var/lib/bootstrap.dat ]]; then
|
||||||
ARGS+=" -loadblock=$HOME/bootstrap.dat"
|
ARGS+=" -loadblock=/var/lib/bootstrap.dat"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue