/etc/rc.local gets reset after reboot


I can add things to /etc/rc.local and they will startup just fine after one reboot. However, the next time I reboot the rc.local file will be deleted, or more so reset. Why is this and how can I manage to change this behavior? This is really important in my case.


I found out that the web UI does that when it gets going. Try changing /var/www/_OS_SETTINGS/etc/rc.local instead until it’s improved.