mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-26 03:28:04 +02:00
98repairBlockchain: fix COPY option
This commit is contained in:
@@ -17,12 +17,13 @@ clear
|
|||||||
if [ "${CHOICE}" = "COPY" ]; then
|
if [ "${CHOICE}" = "COPY" ]; then
|
||||||
echo "Starting COPY ..."
|
echo "Starting COPY ..."
|
||||||
sudo sed -i "s/^state=.*/state=recopy/g" /home/admin/raspiblitz.info
|
sudo sed -i "s/^state=.*/state=recopy/g" /home/admin/raspiblitz.info
|
||||||
/home/admin/50copyHDD.sh
|
/home/admin/config.scripts/blitz.copychain.sh target
|
||||||
sudo sed -i "s/^state=.*/state=na/g" /home/admin/raspiblitz.info
|
sudo sed -i "s/^state=.*/state=na/g" /home/admin/raspiblitz.info
|
||||||
|
|
||||||
elif [ "${CHOICE}" = "RESYNC" ]; then
|
elif [ "${CHOICE}" = "RESYNC" ]; then
|
||||||
echo "Starting RESYNC ..."
|
echo "Starting RESYNC ..."
|
||||||
/home/admin/50syncHDD.sh
|
#TODO #FIXME
|
||||||
|
# /home/admin/50syncHDD.sh
|
||||||
dialog --pause "OK. System will reboot to activate changes." 8 58 8
|
dialog --pause "OK. System will reboot to activate changes." 8 58 8
|
||||||
clear
|
clear
|
||||||
echo "rebooting .. (please wait)"
|
echo "rebooting .. (please wait)"
|
||||||
|
Reference in New Issue
Block a user