I have put this question indirectly in the torrent forum (http://mybookworld.wikidot.com/forum/t-120067/problem-with-autostart-of-transmission), but it seems more appropriate to put it here since it is a very general (and very basic) question. Why should I put startup a startup script for a service added by optware in /opt/etc/init.d instead of /etc/init.d? I assume there are structural reasons, e.g. to be able to reinstall from scratch and add the (hopefully) backedup /opt/ directory to be back on track?
In Optware, we try to be as self-contained as possible, we avoid writing outside of /opt whenever feasible.
There usually is a script in /etc/rc.local or /etc/init.d that invokes all /opt/etc/init.d/S[0-9][0-9]*
If Optware ipk contains config file under /opt/etc, we also mark them as such. So at the time of upgrade of package, user has the choice of how to deal with config file changes.