[OpenWrt-Devel] Where init scripts are linked to rc.d?

Jakub Jančo kubco2 at gmail.com
Sat Feb 27 03:38:03 EST 2016


On Sat, Feb 27, 2016 at 2:12 AM, alzhao <alzhao at gmail.com> wrote:
> Use /etc/init.d/yourscript enable
>
> It should be enabled by default, as I know.
Where do you put this command? I dont want do any tweaks after image is built.

As I found in ImageBuilder Makefiles, init scripts are enabled in
ImageBulder instead of firstboot and only init scripts which was
installed with opkg are enabled by default.
So my solution is hardcode links to $FILES/etc/rc.d/

--
S pozdravom Jakub Janco
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list