[OpenWrt-Devel] Build ipk and make autostart?

Ted Hess thess at kitschensync.net
Sun Sep 14 15:06:33 EDT 2014


The main source of your problem is the first line of your init script starts with: #!/bin/ash instead of #!/bin/sh

The OpenWrt build script that process the start/stop items in /etc/init.d is using:
    grep '#!/bin/sh /etc/rc.common'

to determine the need to create the initial rc.d links.

HTH,
/ted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20140914/8dffa694/attachment.htm>
-------------- 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