Revert "rpi: use usb fstab if sdcard is not present"

This reverts commit 628aee4849.
This commit is contained in:
Konsta
2022-04-28 19:45:32 +03:00
parent 3dfefcf5e8
commit f4ebe4f1a4

View File

@@ -155,9 +155,6 @@ static void process_recovery_mode(twrpAdbBuFifo* adb_bu_fifo, bool skip_decrypti
std::string fstab_filename = "/etc/twrp.fstab";
if (!TWFunc::Path_Exists(fstab_filename)) {
fstab_filename = "/etc/recovery.fstab";
if (!TWFunc::Path_Exists("/dev/block/mmcblk0")) {
fstab_filename = "/etc/recovery.usb.fstab";
}
}
printf("=> Processing %s\n", fstab_filename.c_str());
if (!PartitionManager.Process_Fstab(fstab_filename, 1, true)) {