I have created a simple HelloWorld application. I want to autostart my application in OpenWRT(19.07.1) just after boot up. The application should be started automatically after the shell prompt comes.
My helloworld application is in /usr/bin
I want to start this application automatically after bootup in openwrt
here is what I have created in /etc/init.d/script.sh
#!/bin/sh
START=10
start() {
echo start
/usr/bin/helloworld
}
then
chmod +x script
/etc/init.d/script enable
After this I rebooted
I tried the above steps, but after rebooting no changes are reflected
manually I'm able to run my application.
Please help to resolve this issue.
Can anyone please write script for me??