Revert "rpi: use usb fstab if sdcard is not present"
This reverts commit 628aee4849.
This commit is contained in:
3
twrp.cpp
3
twrp.cpp
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user