Custom File in buildroot to run on Startup

I have an 18.06 source tree and was successful in using it to build image for MediaTek LinkIt Smart 7688.
I have added custom files in ./files folder and these files are included in image.
Now I want to run a script the either the first time system boots or if that is not possible every time the system boots.
This script will download some files from internet setup permissions and start up for my applications.
Any help is appreciated.

/etc/uci-defaults/* run once to success, the get “deleted”. Contrary to name, they’re just shell scripts.

1 Like

it works

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.