From b7e607120c20d5eb79f5453f61413b6eb0f77286 Mon Sep 17 00:00:00 2001 From: SolidHal Date: Fri, 27 Sep 2019 14:05:31 -0700 Subject: [PATCH] fix iding boot dev on install to internal --- scripts/InstallScripts/InstallToInternal.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/InstallScripts/InstallToInternal.sh b/scripts/InstallScripts/InstallToInternal.sh index b886702..58e4923 100755 --- a/scripts/InstallScripts/InstallToInternal.sh +++ b/scripts/InstallScripts/InstallToInternal.sh @@ -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