ibasso: Found a reliable way to determine if SD card is present at startup

Change-Id: If02788a50e141cc2e5b1a6cde2df2a5ef5713e30
This commit is contained in:
Solomon Peachy 2021-04-13 10:27:34 -04:00
parent c0a49d9bdf
commit ec4b5c794e
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ static void* vold_monitor_run(void* nothing)
/* Check to see if external SD is mounted */
// extsd_present = !system("mountpoint -q /mnt/external_sd");
// extsd_present = !system("mount -o remount,rw /mnt/external_sd");
extsd_present = !system("mount -o remount,rw /mnt/external_sd");
vold_monitor_open_socket();
if(_vold_monitor_socket_fd < 0)