jonbons
New Member
I just started using psolyca's firmware (https://dashcamtalk.com/forum/threa...update-18-11-07-launch-scripts-at-boot.35439/) and I figured I'd whip up a script to cleanup older video files when the camera boots up so that you can actually utilize loop recording without having to manually delete old videos, it also starts a recording once the cleanup process is done by removing the oldest video files until the SD cards capacity is at or below 90%.
Script: https://gist.github.com/JonBons/815a64c1a8fd9a4765e42a76f9e57189
Place the contents of that script into a bootcmd.sh file on your sdcard. (REQUIRES psolyca's firmware linked above!!)
Script: https://gist.github.com/JonBons/815a64c1a8fd9a4765e42a76f9e57189
Place the contents of that script into a bootcmd.sh file on your sdcard. (REQUIRES psolyca's firmware linked above!!)