fix syntax

This commit is contained in:
rootzoll
2021-05-06 00:13:18 +02:00
parent a0f90dadbd
commit 7927ca4286

View File

@@ -90,28 +90,26 @@ do
# when no HDD on Vagrant - just print info & exit (admin info) # when no HDD on Vagrant - just print info & exit (admin info)
if [ "${state}" == "noHDD" ] && [ ${vagrant} -gt 0 ]; then if [ "${state}" == "noHDD" ] && [ ${vagrant} -gt 0 ]; then
echo "***********************************************************" echo "***********************************************************"
echo "VAGRANT INFO" echo "VAGRANT INFO"
echo "***********************************************************" echo "***********************************************************"
echo "To connect a HDD data disk to your VagrantVM:" echo "To connect a HDD data disk to your VagrantVM:"
echo "- shutdown VM with command: off" echo "- shutdown VM with command: off"
echo "- open your VirtualBox GUI and select RaspiBlitzVM" echo "- open your VirtualBox GUI and select RaspiBlitzVM"
echo "- change the 'mass storage' settings" echo "- change the 'mass storage' settings"
echo "- add a second 'Primary Slave' drive to the already existing controller" echo "- add a second 'Primary Slave' drive to the already existing controller"
echo "- close VirtualBox GUI and run: vagrant up & vagrant ssh" echo "- close VirtualBox GUI and run: vagrant up & vagrant ssh"
echo "***********************************************************" echo "***********************************************************"
echo "You can either create a new dynamic VDI with around 900GB or download" echo "You can either create a new dynamic VDI with around 900GB or download"
echo "a VDI with a presynced blockchain to speed up setup. If you dont have 900GB" echo "a VDI with a presynced blockchain to speed up setup. If you dont have 900GB"
echo "space on your laptop you can store the VDI file on an external drive." echo "space on your laptop you can store the VDI file on an external drive."
echo "***********************************************************" echo "***********************************************************"
exit 1 exit 1
else else
# every other state just push as event to SSH frontend # every other state just push as event to SSH frontend
/home/admin/setup.scripts/eventInfoWait.sh ${state} /home/admin/setup.scripts/eventInfoWait.sh ${state}
fi
fi fi
fi fi