[OpenWrt Wiki] Init Scripts
https://openwrt.org/docs/techref/initscripts23.12.2020 · root@OpenWrt:/# /etc/init.d/example enable This will create one or more symlinks in /etc/rc.d/ which automatically execute at boot time (see Boot process )) and shutdown. This makes the application behave as a system service, by starting when the device boots and stopping at shutdown, as configured in the init.d script.
[OpenWrt Wiki] Creating packages
https://openwrt.org/docs/guide-developer/packages24.07.2009 · Creating packages See also -> Package Policy Guide, which contains a wealth of extra technical information not covered here. One of the things that we've attempted to do with OpenWrt's template system is make it incredibly easy to port software to OpenWrt. If you look at a typical package directory in OpenWrt you'll find three things:
[OpenWrt Wiki] Creating packages
openwrt.org › docs › guide-developerNov 16, 2021 · OpenWrt works under the assumption of one source per package Makefile, but you can split that source into as many packages as desired. Since you only need to compile the sources once, there's one global set of “Build” defines, but you can add as many “Package/” defines as you want by adding extra calls to BuildPackage – see the dropbear package for an example.
[OpenWrt Wiki] Init Scripts
openwrt.org › docs › techrefDec 23, 2020 · In OpenWrt init is implemented with init.d. The init process that calls the scripts at boot time is provided by Busybox. This article explains how init.d scripts work and how to create them. Note that this is mostly equivalent to other init.d implementations and in-depth documentation can be found elsewhere.