修复 FAT 硬盘中文乱码

This commit is contained in:
Hyy2001X 2021-12-30 21:39:48 +08:00
parent f93f86ad42
commit 2daef041d7
1 changed files with 5 additions and 0 deletions

View File

@ -263,6 +263,11 @@ EOF
done
unset X
}
for X in $(ls -1 target/linux/generic | grep "config-")
do
sed -i '/CONFIG_FAT_DEFAULT_IOCHARSET/d' target/linux/generic/${X}
echo -e '\nCONFIG_FAT_DEFAULT_IOCHARSET="utf8"' >> target/linux/generic/${X}
done
ECHO "[Firmware_Diy_Main] Done"
}