reduce error output

This commit is contained in:
Christian Rotzoll 2019-04-28 16:25:21 +02:00
parent 1c5e095cb4
commit 19ee877f8d

View file

@ -88,11 +88,11 @@ if [ "${state}" = "presync" ]; then
echo "(needs to get downloaded fresh during setup)"
sudo rm -f -r /mnt/hdd/bitcoin
else
echo "********************************************"
echo "Stopping pre-sync ... pls wait (up to 1min)"
echo "********************************************"
sudo -u root bitcoin-cli -conf=/home/admin/assets/bitcoin.conf stop
echo "bitcoind called to stop .."
echo "************************************"
echo "Preparing ... pls wait (up to 1min) "
echo "************************************"
sudo -u root bitcoin-cli -conf=/home/admin/assets/bitcoin.conf stop 2>/dev/null
echo "Calling presync to finish up .."
sleep 50
fi