I installed my Dropbear on demand and, as you know, is it possible to bring it up simply typing dropbear. But after a $ dropbear always come an $ sudo /etc/init.d/dropbear start.
I should change the script in my persistent tce/ondemand folder but you know this is not the better place to put the custom initialization.
What about to let each script that is loaded on demand to look for a directory in /opt so an user can write its custom command to execute after an extension is loaded on demand?
What about /opt/onDemanded/%extensionName%.rc ? If the file exists and is executable it is executed by the onDemand loading script; nothing happens otherwise.
Let me know what you think about it!
--Fabio