Closed archandanime closed 1 year ago
This can be done by writing a script at /opt/wz_mini/etc/rc.local.d
to clean up the files:
#!/bin/sh
#
# This script cleans up FSCKxxxx.REC files on SD Card
#
if df / | grep -q overlayfs; then
rm /sdcard/FSCK????.REC
else
rm /opt/FSCK????.REC
fi
fsck.vfat
in initramfs init helps fixing corruption on SD Card and I want to leave it on but it also creates a lot of FSCKxxxx.REC files on SD Card. Can wz_mini_hacks clean up them? or maybe put them all together on a directory on SD Card.