Browse Source

added read key to disconenct 2nd HDD after copy

dev
openoms 6 years ago
parent
commit
21c19ebc8e
  1. 2
      build.sdcard/raspbianStretchDesktop.sh
  2. 5
      dietpi/install_on_DietPi.md
  3. 5
      home.admin/50adapterHDD.sh

2
build.sdcard/raspbianStretchDesktop.sh

@ -27,7 +27,7 @@ echo "will use code from branch --> '${wantedBranch}'"
# 2nd optional parameter is the GITHUB-USERNAME to get code from when
# provisioning sd card with raspiblitz assets/scripts later on
# if 2nd paramter is used - 1st is mandatory
# if 2nd parameter is used - 1st is mandatory
echo "*** CHECK INPUT PARAMETERS ***"
githubUser="$2"
if [ ${#githubUser} -eq 0 ]; then

5
dietpi/install_on_DietPi.md

@ -1,7 +1,7 @@
# ⚡️ this setup is tested on an ODroid HC1 ⚡️
![](pictures/DroidBlitz.jpg)
there is no LCD, but the [hardware specs](hw_comparison.md) are convincing:
there is no LCD, but the [hardware specs](hw_comparison.md) make up for it.
## Setting up the DietPi OS
@ -59,9 +59,10 @@ Should end up here on version v6.20.6 or higher:
run the SDcard build script in this format:
`wget https://raw.githubusercontent.com/[GITHUB-USERNAME]/raspiblitz/[BRANCH]/build.sdcard/raspbianStretchDesktop.sh && sudo bash raspbianStretchDesktop.sh [BRANCH] [GITHUB-USERNAME]`
Be aware of that the fork needs to be called `raspiblitz` for the git download to work.
if you intend to use @openoms`s forked version:
`wget https://raw.githubusercontent.com/openoms/HardwareNode/raspiblitz-dev/build.sdcard/raspbianStretchDesktop.sh && sudo bash raspbianStretchDesktop.sh raspiblitz-dev openoms`
`wget https://raw.githubusercontent.com/openoms/raspiblitz/raspiblitz-dev/build.sdcard/raspbianStretchDesktop.sh && sudo bash raspbianStretchDesktop.sh raspiblitz-dev openoms`
See my example output: [sdcard_build_output](DietPi/sdcard_build_output)

5
home.admin/50adapterHDD.sh

@ -126,7 +126,10 @@ sudo rsync --append --info=progress2 -a /mnt/genesis/bitcoin/blocks /mnt/hdd/bit
sudo umount -l /mnt/genesis
echo "OK - Copy done :)"
echo ""
echo "---> You can now disconnect the 2nd HDD"
# echo "---> You can now disconnect the 2nd HDD"
# If the Odorid HC1 reboots with a HDD attached to the USB it prioritises it over the SATA
echo "---> Disconnect the 2nd HDD and press a Enter"
read key
# set SetupState
# sudo sed -i "s/^setupStep=.*/setupStep=50/g" /home/admin/raspiblitz.info

Loading…
Cancel
Save