Problem:
QTS executes [autorun.sh] before re-integrating installed QPKGs. So, running shell-scripts in [autorun.sh] that depend on QPKGs is painful.
There is clearly a need to run shell-scripts during NAS startup, but only after all QPKGs have been re-integrated.
Solution(?):
A new QPKG that performs two basic functions:
- process a list of executable shell-script files in a directory,
- alter [/etc/config/qpkg.conf] on shutdown to ensure this new package is loaded last during the next NAS startup.
I'm happy to offer support (if needed) for anyone willing to build it. Please adopt this project by posting here registering your interest. It would be great to see someone new build this instead of the same old crowd.
If there are no takers by the December holidays, I'll throw something together.
Please add your package icon suggestions below. The challenge is to find or create a simple image that generally means "run last".