OpenWrt Forum Archive

Topic: howto autostart programs on startup?

The content of this topic has been archived on 30 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

hello,
I wrote an init.d script and put it into /etc/init.d and made it executable (chmod 755)
but when I start (or reboot) the router the initscript is not started.

Do I miss anything? or did I forget something?
thanks for any help.

Ok, I figured out. kamikaze is a bit different from whiterussian builds.

/etc/init.d/<script> enable

this makes the rc.common parse the file and set symlinks.

The discussion might have continued from here.