westbywest / robin-mesh-v2

Derivative of the ROBIN Mesh Firmware http://wiki-robin.meshroot.com/
4 stars 19 forks source link

Move all temporary files to /tmp #14

Open westbywest opened 10 years ago

westbywest commented 10 years ago

Both ROBIN v3xxx and the initial version of ROBIN v2 write a bunch of stuff to the flash disk on a regular basis, e.g. to /etc/update, on a regular basis. This is bad. Relocate all temporary data associated with dashboard checkings to /tmp, and only write the following files to /etc:

/etc/robin_version /etc/olsrd_version /etc/reboot_reasons