We have some scripts that we want to run as late as possible during boot but still before flytOS starts. Currently we have modified the /etc/init.d/flytos file and inserted the script calls there, but that feels kind of wrong. I guess this file might get changed at flytOS updates.
So my request is for some upgrade-persistent way of runing init-scripts at boot.

Now , add your commands/scripts that you would like to trigger.
Once done, call update-rc.d.
To ensure, it runs before FlytOS, make sure its number (S0x) is lesser than that of FlytOS file present in /etc/rc4.d/S0xflytos