mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-27 06:54:00 +00:00
53 lines
1.3 KiB
Bash
Executable File
53 lines
1.3 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
LOCAL_IP=$(python ./scripts/get_local_ip.py)
|
|
|
|
echo ""
|
|
echo "Finished updating rootfs and other files!"
|
|
echo ""
|
|
|
|
clear
|
|
echo "Step 1: "
|
|
echo " Flash SD Card with Raspberry Pi Image: out/base_images/raspi_base.img.gz"
|
|
echo " OR"
|
|
echo " If you would rather create your own base image, follow the"
|
|
echo " manual instructions in setup/setup_image_raspi.txt"
|
|
echo ""
|
|
echo "Press a key when complete..."
|
|
read -n 1
|
|
|
|
clear
|
|
echo "Step 2: "
|
|
echo " Insert SD Card into your Raspberry Pi and boot the device"
|
|
echo ""
|
|
echo "Press a key when complete..."
|
|
read -n 1
|
|
|
|
clear
|
|
echo "Step 3: "
|
|
echo " Login to device with username 'admin' and password 'bolt'"
|
|
echo " Run the following commands. Use bolt at password prompts."
|
|
echo " wget http://${LOCAL_IP}:8000/setup_device.sh -O setup_device.sh"
|
|
echo " chmod +x setup_device.sh"
|
|
echo " sudo ./setup_device.sh ${LOCAL_IP}"
|
|
echo ""
|
|
echo "Press a key when complete..."
|
|
read -n 1
|
|
|
|
clear
|
|
echo "Step 4:"
|
|
echo " Login to device with username 'admin' and password 'bolt'"
|
|
echo " Run the following commands. Use bolt at password prompts."
|
|
echo " "
|
|
echo "Press a key when complete..."
|
|
read -n 1
|
|
|
|
clear
|
|
echo "Step 5:"
|
|
echo " Reboot your device."
|
|
echo ""
|
|
echo "Press a key when complete..."
|
|
read -n 1
|
|
|
|
echo ""
|
|
echo "Congratulations! Your device is now ready!" |