bluerobotics / companion

Companion computer startup scripts and examples
https://www.ardusub.com/operators-manual/companion-web.html
GNU General Public License v3.0
48 stars 54 forks source link

Detect user-edited config #311

Open jaxxzer opened 4 years ago

jaxxzer commented 4 years ago

We can't tell if the user ever touched the config file because we copy them already.

The services should use the user-file if it exists (it should not automatically, that is the problem), or the default file if the user never changed it.

https://github.com/bluerobotics/companion/blob/master/.companion.rc#L4