minimal
minimal copied to clipboard
Implement 'autorun' script chain sequence which is invoked on reboot/shutdown.
This is generic improvement for the current 'autorun' functionality. The idea is to have 2 types of 'autorun' groups which are invoked on startup and reboot/shutdown. Conceptually, this is equivalent to having only one runlevel with S/K scripts in the classic 'init.d' boot scheme.
One particular part of MLL which could adopt this approach is the default shutdown process which has been hardcoded in the 'inittab'. Also, some overlay bundles may use this feature, e.g. 'nweb' and 'dropbear' which should stop their server processes properly.
This is just a conceptual idea and it may not be implemented since there is no particular need for it. Nevertheless, in the long run it may be good to have such functionality in MLL at least for demonstration purposes.