From f4ebe4f1a4f37d5fed4a6956d7a3086d33db8ca8 Mon Sep 17 00:00:00 2001 From: Konsta Date: Thu, 28 Apr 2022 19:45:32 +0300 Subject: [PATCH] Revert "rpi: use usb fstab if sdcard is not present" This reverts commit 628aee48495d9c86b9e2122f84e9bdd1c9b952c1. --- twrp.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/twrp.cpp b/twrp.cpp index 9a317e89..dcc57640 100644 --- a/twrp.cpp +++ b/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)) {