#141 added needed reboot

This commit is contained in:
Christian Rotzoll 2019-03-18 00:18:30 +01:00
parent 04d6fca2cb
commit c80a03cc30
2 changed files with 4 additions and 3 deletions

View File

@ -145,13 +145,13 @@ if [ "${setupStep}" = "100" ]; then
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
echo "DONE - reboot is needed: sudo shutdown -r now"
echo "DONE - rebooting: sudo shutdown -r now"
sudo shutdown -r now
exit 0
fi
# REACT ON QUICK CHECK DURING INITAL SETUP
if [ ${quickCheckOK} -eq 0 ]; then
echo "*********************************************"

View File

@ -290,7 +290,8 @@ if [ "${setupStep}" = "100" ]; then
sudo cp /home/admin/assets/${network}.conf /mnt/hdd/${network}/${network}.conf
sudo chown -R bitcoin:bitcoin /mnt/hdd/${network}/
sudo systemctl enable ${network}d
echo "DONE - reboot needed: sudo shutdown -r now"
echo "DONE - rebooting: sudo shutdown -r now"
sudo shutdown -r now
else
# set SetupState
sudo sed -i "s/^setupStep=.*/setupStep=50/g" /home/admin/raspiblitz.info