[OpenWrt-Devel] init scripts from files/etc/init.d/ are broken

Moritz Warning moritzwarning at web.de
Sun Mar 15 13:05:47 EDT 2015


Hi,

init scripts placed in files/etc/init.d/ are not enabled anymore.
This is probably caused by this change:
https://dev.openwrt.org/changeset/42470

A workaround would be to enable init scripts in /etc/uci-defaults/.
But this does not work because the list of executed scripts seem to be determined
before the first init script is executed.

So there seem to be two solutions:
- enable init scripts in files/etc/init.d/ again
- rescan the init scripts after each executed init script in case there have been changes

Is there another option?

regards,
mwarning

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150315/d3b5db85/attachment.sig>
-------------- next part --------------
_______________________________________________
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