@mitu
Yes, I did what you said and I succeeded to lower boot time to 11 seconds for libretro emulator but only through autostart.sh.
However, non-libretro emulators still starts about 5 seconds faster through the rc.local script and I dont know what else I could do here.
It seems runcommand is a problem, because for some reason it refuses to start through rc.local properly...