motionEye Version 0.42.1
Motion Version 4.2.2+gitUNKNOWN
OS Version motionEyeOS 20200606
========================
I have implemented a (test) monitor script, which is exactly what you see at the bottom of this web page:
It adds the cpu temp to the overlay in the web browser.
the file is /data/etc/monitor_1 (for camera 1) and its permissions are 755, making it executable.
works well.
however whenever motion/motioneye restarts (i.e. a change in setting in the web UI which forces me to "apply"), the permissions on this file get changed to 644, and it no longer runs b/c it is no longer executable.
Any idea why? or how to fix?
Thanks,
Tom