Skip to content

Commit

Permalink
Merge pull request #307 from codewithpassion/bug/304-emmc-copy-log
Browse files Browse the repository at this point in the history
Fixes #304 - checking for emmc copy log and delete if its there
  • Loading branch information
BrianAdams committed Oct 6, 2014
2 parents 3f94884 + cc34e7b commit 3a0dae4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions etc/rc.local
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3a0dae4

Please sign in to comment.