diff --git a/etc/rc.local b/etc/rc.local index a85c95cb..4a308aa7 100755 --- a/etc/rc.local +++ b/etc/rc.local @@ -35,4 +35,9 @@ echo "# No persist!" >> /etc/udev/rules.d/70-persistent-net.rules # setup the 'reset' GPIO configuration /opt/openrov/cockpit/linux/reset.sh +# delete the emmc-copy log if present +if [ -f '/var/log/copy-to-emmc.log' ]; then + rm /var/log/copy-to-emmc.log +fi + exit 0