mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
Fix mmc formatting stuck
This commit is contained in:
parent
a0ea21a604
commit
37ca3e50d4
@ -1422,7 +1422,11 @@ function advancedMenu() {
|
||||
fi
|
||||
(
|
||||
for I in ${RESP}; do
|
||||
if [[ "${I}" = /dev/mmc* ]]; then
|
||||
echo y | mkdosfs -F32 "${I}"
|
||||
else
|
||||
echo y | mkfs.ext4 -T largefile4 "${I}"
|
||||
fi
|
||||
done
|
||||
) 2>&1 | DIALOG --title "$(TEXT "Advanced")" \
|
||||
--progressbox "$(TEXT "Formatting ...")" 20 100
|
||||
|
Loading…
x
Reference in New Issue
Block a user