fix iding boot dev on install to internal

This commit is contained in:
SolidHal 2019-09-27 14:05:31 -07:00
parent cc980dbc71
commit b7e607120c

View File

@ -21,7 +21,7 @@
RESOURCES=/InstallResources
# Grab the boot device, which is either /dev/sda for usb or /dev/mmcblk0 for an sd card
BOOT_DEVICE=$(mount | head -n 1 | cut -d '2' -f 1)
BOOT_DEVICE=$(mount | head -n 1 | cut -d '3' -f 1)
read -p "This will ERASE ALL DATA ON THE INTERNAL STORAGE (EMMC) and reboot when finished, do you want to continue? [Y/n]" -n 1 -r